mirror of
https://github.com/sourcegit-scm/sourcegit.git
synced 2024-12-22 20:37:19 -08:00
Disable search button when popup manager was locked
This commit is contained in:
parent
3d1cc73f67
commit
e77b09fb37
1 changed files with 2 additions and 0 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue