Skip to content

Commit e7508b9

Browse files
committed
Do not show user dir templates in standalone mode...
1 parent 54f55ef commit e7508b9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

External/Plugins/ProjectManager/Projects/MoreProjectPaths.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
using System.Collections.Generic;
33
using System.IO;
44
using PluginCore.Helpers;
5+
using PluginCore;
56

67
namespace ProjectManager.Projects
78
{
@@ -28,7 +29,7 @@ public static List<String> GetAllProjectDirs()
2829
{
2930
allDirs.AddRange(Directory.GetDirectories(ProjectTemplatesDirectory));
3031
}
31-
if (Directory.Exists(PathHelper.UserProjectsDir))
32+
if (!PluginBase.MainForm.StandaloneMode && Directory.Exists(PathHelper.UserProjectsDir))
3233
{
3334
allDirs.AddRange(Directory.GetDirectories(PathHelper.UserProjectsDir));
3435
}

0 commit comments

Comments
 (0)