diff --git a/Config/Config.cs b/Config/Config.cs index 903600b6..713afdc5 100644 --- a/Config/Config.cs +++ b/Config/Config.cs @@ -46,7 +46,7 @@ public static void Dispose() AppColors.BitmapFilesCount.Dispose(); } - internal static void SetFolderByWindowsContextMenu(string[] args) + public static void SetFolderByWindowsContextMenu(string[] args) { if (args != null && args.Length > 0) { @@ -59,7 +59,8 @@ internal static void SetFolderByWindowsContextMenu(string[] args) public static bool LoadOrSetByUser() { - bool pathOK = Directory.Exists(Path); + bool pathOK = FileLnk.IsNetworkPath(Path) || + (Directory.Exists(Path) && Directory.GetFiles(Path).Length > 0); if (!pathOK) { @@ -87,7 +88,9 @@ public static bool SetFolderByUser(bool save = true) { if (dialog.ShowDialog() == DialogResult.OK) { - if (Directory.Exists(dialog.Folder)) + if (FileLnk.IsNetworkPath(Path) || + (Directory.Exists(dialog.Folder) && + Directory.GetFiles(Path).Length > 0)) { pathOK = true; Settings.Default.PathDirectory = diff --git a/Properties/AssemblyInfo.cs b/Properties/AssemblyInfo.cs index 4be83958..4b6fb120 100644 --- a/Properties/AssemblyInfo.cs +++ b/Properties/AssemblyInfo.cs @@ -39,5 +39,5 @@ // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.0.18.2")] -[assembly: AssemblyFileVersion("1.0.18.2")] +[assembly: AssemblyVersion("1.0.18.3")] +[assembly: AssemblyFileVersion("1.0.18.3")]