mirror of
https://github.com/sourcegit-scm/sourcegit.git
synced 2024-12-22 20:37:19 -08:00
fix<Window>: fix window can NOT minimized when WindowState is Maximized
This commit is contained in:
parent
003ae01b13
commit
7c03726370
1 changed files with 1 additions and 1 deletions
|
@ -56,7 +56,7 @@ namespace SourceGit.Views.Controls {
|
|||
if (w != null) {
|
||||
if (w.IsMaximized) {
|
||||
SystemCommands.MaximizeWindow(w);
|
||||
} else {
|
||||
} else if (w.WindowState != WindowState.Minimized) {
|
||||
SystemCommands.RestoreWindow(w);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue