From d69e071a0ebf0b1f866ace6d8582a6a674b666a0 Mon Sep 17 00:00:00 2001 From: Manuel Kamper Date: Tue, 16 Aug 2022 14:36:58 +0200 Subject: [PATCH] bugfix regarding counting images --- .gitignore | 1 + Mk0.Software.ImageSorter/Main.Designer.cs | 2 +- Mk0.Software.ImageSorter/Main.cs | 29 ++++++++----------- .../Mk0.Software.ImageSorter.csproj | 2 +- .../Properties/AssemblyInfo.cs | 2 +- 5 files changed, 16 insertions(+), 20 deletions(-) diff --git a/.gitignore b/.gitignore index 3e759b7..ca054fb 100644 --- a/.gitignore +++ b/.gitignore @@ -328,3 +328,4 @@ ASALocalRun/ # MFractors (Xamarin productivity tool) working folder .mfractor/ +/Iconset url.txt diff --git a/Mk0.Software.ImageSorter/Main.Designer.cs b/Mk0.Software.ImageSorter/Main.Designer.cs index 4afdd85..b92b2f0 100644 --- a/Mk0.Software.ImageSorter/Main.Designer.cs +++ b/Mk0.Software.ImageSorter/Main.Designer.cs @@ -821,7 +821,7 @@ this.MinimumSize = new System.Drawing.Size(983, 605); this.Name = "Main"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; - this.Text = "Image Sorter v2.0 | © 2015-2022 by kmpr.at"; + this.Text = "Image Sorter v2.1 | © 2015-2022 by kmpr.at"; this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.Main_FormClosing); this.Load += new System.EventHandler(this.Main_Load); this.Shown += new System.EventHandler(this.Main_Shown); diff --git a/Mk0.Software.ImageSorter/Main.cs b/Mk0.Software.ImageSorter/Main.cs index d27ca70..0ada840 100644 --- a/Mk0.Software.ImageSorter/Main.cs +++ b/Mk0.Software.ImageSorter/Main.cs @@ -24,7 +24,7 @@ namespace Mk0.Software.ImageSorter { public string quellPath = ""; public string zielPath = ""; - private string[] fileTypes = { "jpg", "png", "jpeg", "gif", "tif", "tiff", "bmp", "webp", "JPG", "PNG", "GIF", "JPEG", "TIF", "TIFF", "BMP", "WEBP" }; + private string[] fileTypes = { ".jpg", ".png", ".jpeg", ".gif", ".tif", ".tiff", ".bmp", ".webp" }; private int moved = 0; private int imageIndex; private List