Skip to content

Commit

Permalink
Missed a spot
Browse files Browse the repository at this point in the history
  • Loading branch information
da3dsoul committed Jan 8, 2024
1 parent 84fe58e commit 1929883
Showing 1 changed file with 0 additions and 20 deletions.
20 changes: 0 additions & 20 deletions Shoko.Desktop/UserControls/DuplicateFilesControl.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -49,26 +49,6 @@ public DuplicateFilesControl()

btnRefresh.Click += new RoutedEventHandler(btnRefresh_Click);
lbDuplicateFiles.SelectionChanged += new SelectionChangedEventHandler(lbDuplicateFiles_SelectionChanged);

btnReevaluate.Click += new RoutedEventHandler(btnReevaluate_Click);
}

void btnReevaluate_Click(object sender, RoutedEventArgs e)
{
try
{
Cursor = Cursors.Wait;
VM_ShokoServer.Instance.ShokoServices.ReevaluateDuplicateFiles();
RefreshDuplicateFiles();
}
catch (Exception ex)
{
Utils.ShowErrorMessage(ex);
}
finally
{
Cursor = Cursors.Arrow;
}
}

void lbDuplicateFiles_SelectionChanged(object sender, SelectionChangedEventArgs e)
Expand Down

0 comments on commit 1929883

Please sign in to comment.