fixed #35
This commit is contained in:
parent
be84e1e144
commit
6f1e371d33
@ -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,9 +648,17 @@ namespace Mk0.Software.Bildduplikate
|
||||
total = int.Parse(resObj2.totalDuplicates);
|
||||
}
|
||||
|
||||
if (total == 0)
|
||||
{
|
||||
UIElementsVisible(false);
|
||||
MessageBox.Show("Alle Duplikate von API abgearbeitet", "Fertig!", MessageBoxButtons.OK, MessageBoxIcon.Information);
|
||||
}
|
||||
else
|
||||
{
|
||||
LoadDuplicates(line, true);
|
||||
}
|
||||
}
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
MessageBox.Show("Fehler bei der Kommunikation mit der API:" + Environment.NewLine + ex.ToString(), "API Fehler", MessageBoxButtons.OK, MessageBoxIcon.Error);
|
||||
|
Loading…
Reference in New Issue
Block a user