diff --git a/Form1.cs b/Form1.cs index 935077c..b4e646e 100644 --- a/Form1.cs +++ b/Form1.cs @@ -138,8 +138,11 @@ namespace photo_sorter private void populate_directory_lists() { - //string[] pdir = Directory.GetDirectories(global.dest); - //string[] sdir = Directory.GetDirectories(global.dest + "\\" + cbox_sort_primary.Text); + //Exit if no destination directory selected + if (global.dest.Length < 1) + { + return; + } lbox_primary_sortlist.Items.Clear(); foreach (var d in Directory.GetDirectories(global.dest)) diff --git a/Properties/AssemblyInfo.cs b/Properties/AssemblyInfo.cs index 62374a1..b5e36d3 100644 --- a/Properties/AssemblyInfo.cs +++ b/Properties/AssemblyInfo.cs @@ -11,7 +11,7 @@ using System.Runtime.InteropServices; [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("Skyfall Tech")] [assembly: AssemblyProduct("Photo Sorter")] -[assembly: AssemblyCopyright("Copyright © 2022")] +[assembly: AssemblyCopyright("Copyright © 2023")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] @@ -33,6 +33,6 @@ using System.Runtime.InteropServices; // 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.1.0")] -[assembly: AssemblyFileVersion("1.0.1.0")] +[assembly: AssemblyVersion("1.0.2.0")] +[assembly: AssemblyFileVersion("1.0.2.0")] [assembly: NeutralResourcesLanguage("en")]