diff --git a/Mk0.Software.ImageSorter/Inpaint.cs b/Mk0.Software.ImageSorter/Inpaint.cs index c443d82..74b8be6 100644 --- a/Mk0.Software.ImageSorter/Inpaint.cs +++ b/Mk0.Software.ImageSorter/Inpaint.cs @@ -57,7 +57,7 @@ namespace Mk0.Software.ImageSorter Properties.Settings.Default.lastTopInpaint = Top; Properties.Settings.Default.lastLeftInpaint = Left; Properties.Settings.Default.Save(); - if (!File.Exists(Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "inpaint-tmp", Path.GetFileNameWithoutExtension(file) + "_cleanup" + Path.GetExtension(file)))) + if (!File.Exists(Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "inpaint-tmp", Path.GetFileNameWithoutExtension(file) + "_inpaint" + Path.GetExtension(file)))) { DialogResult res = MessageBox.Show("Sie haben kein bearbeitetes Bild heruntergeladen. Klicken sie dazu auf den Downloadbutton am unteren Fensterrand.\n\nWollen sie die bearbeitete Datei doch noch herunterladen (Ja)?\n\nFalls sie ihre Ă„nderungen verwerfen wollen, Klicken sie (Nein).", "Inpaint Frage", MessageBoxButtons.YesNo, MessageBoxIcon.Question); switch (res) diff --git a/Mk0.Software.ImageSorter/Main.cs b/Mk0.Software.ImageSorter/Main.cs index 902c818..75152d1 100644 --- a/Mk0.Software.ImageSorter/Main.cs +++ b/Mk0.Software.ImageSorter/Main.cs @@ -2252,7 +2252,7 @@ namespace Mk0.Software.ImageSorter Inpaint ip = new Inpaint(Properties.Settings.Default.inpaintUrl, pictureBoxImage.ImageLocation); ip.ShowDialog(); string oldFileName = pictureBoxImage.ImageLocation; - string newFileName = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "inpaint-tmp", Path.GetFileNameWithoutExtension(pictureBoxImage.ImageLocation) + "_cleanup" + Path.GetExtension(pictureBoxImage.ImageLocation)); + string newFileName = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "inpaint-tmp", Path.GetFileNameWithoutExtension(pictureBoxImage.ImageLocation) + "_inpaint" + Path.GetExtension(pictureBoxImage.ImageLocation)); if (File.Exists(newFileName)) { File.Delete(oldFileName);