Skip to content

Commit 5508b8d

Browse files
committed
Revert "Fixed Mod Groups collapse / expand button not updating when filtering"
This reverts commit 60cec34.
1 parent 16c022f commit 5508b8d

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

Stardrop/Views/MainWindow.axaml.cs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -734,9 +734,6 @@ private void SearchBoxTimer_Tick(object? sender, EventArgs e)
734734
var searchFilterColumnBox = this.FindControl<ListBox>("searchFilterColumnBox");
735735
_viewModel.ColumnFilter = searchFilterColumnBox.SelectedItems.Cast<ListBoxItem>().Select(i => i.Content.ToString()).ToList();
736736
}
737-
738-
// Ensure mod group button is set to collapse
739-
_viewModel.ModGroupsStateButtonText = Program.translation.Get("ui.main_window.buttons.mod_groups_state.collapse");
740737
}
741738

742739
private void FilterListBox_SelectionChanged(object? sender, SelectionChangedEventArgs e)
@@ -746,9 +743,6 @@ private void FilterListBox_SelectionChanged(object? sender, SelectionChangedEven
746743

747744
int selectedItemCount = searchFilterColumnBox.SelectedItems.Count;
748745
this.FindControl<Button>("searchFilterColumnButton").Content = selectedItemCount > 0 ? String.Format(Program.translation.Get("ui.main_window.buttons.active_search_filters"), selectedItemCount) : Program.translation.Get("ui.main_window.buttons.no_search_filters");
749-
750-
// Ensure mod group button is set to collapse
751-
_viewModel.ModGroupsStateButtonText = Program.translation.Get("ui.main_window.buttons.mod_groups_state.collapse");
752746
}
753747

754748
private void DisabledModComboBox_SelectionChanged(object? sender, SelectionChangedEventArgs e)

0 commit comments

Comments
 (0)