This commit is contained in:
Manuel Kamper 2022-12-02 13:15:02 +01:00
parent be84e1e144
commit 6f1e371d33

View File

@ -293,11 +293,6 @@ namespace Mk0.Software.Bildduplikate
if (api)
{
ButtonAPILoad_Click(null, null);
if (Duplicates.Count > lineDup)
{
UIElementsVisible(false);
MessageBox.Show("Alle Duplikate von API abgearbeitet", "Fertig!", MessageBoxButtons.OK, MessageBoxIcon.Information);
}
}
else
{
@ -653,7 +648,15 @@ namespace Mk0.Software.Bildduplikate
total = int.Parse(resObj2.totalDuplicates);
}
LoadDuplicates(line, true);
if (total == 0)
{
UIElementsVisible(false);
MessageBox.Show("Alle Duplikate von API abgearbeitet", "Fertig!", MessageBoxButtons.OK, MessageBoxIcon.Information);
}
else
{
LoadDuplicates(line, true);
}
}
}
catch (Exception ex)