From 1929883a6768efe024fefae79138b8792e5e54a9 Mon Sep 17 00:00:00 2001 From: da3dsoul Date: Sun, 7 Jan 2024 21:28:32 -0500 Subject: [PATCH] Missed a spot --- .../DuplicateFilesControl.xaml.cs | 20 ------------------- 1 file changed, 20 deletions(-) diff --git a/Shoko.Desktop/UserControls/DuplicateFilesControl.xaml.cs b/Shoko.Desktop/UserControls/DuplicateFilesControl.xaml.cs index 03475cf8..75a1a121 100644 --- a/Shoko.Desktop/UserControls/DuplicateFilesControl.xaml.cs +++ b/Shoko.Desktop/UserControls/DuplicateFilesControl.xaml.cs @@ -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)