mirror of
https://fastgit.cc/github.com/sourcegit-scm/sourcegit
synced 2026-04-24 10:50:52 +08:00
Disable search button when popup manager was locked
This commit is contained in:
@@ -311,6 +311,8 @@ namespace SourceGit.UI {
|
||||
}
|
||||
|
||||
private void OpenSearch(object sender, RoutedEventArgs e) {
|
||||
if (PopupManager.IsLocked()) return;
|
||||
|
||||
workspace.SelectedItem = historiesSwitch;
|
||||
if (histories.searchBar.Margin.Top == 0) {
|
||||
histories.HideSearchBar();
|
||||
|
||||
Reference in New Issue
Block a user