File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -35,10 +35,6 @@ public TabWindowView()
3535 this . MinWidth = this . MinHeight = 300 ;
3636 this . WindowStartupLocation = WindowStartupLocation . CenterScreen ;
3737 this . WindowStyle = WindowStyle . SingleBorderWindow ;
38- if ( IoC . Get < LocalityService > ( ) . TabWindowState != System . Windows . WindowState . Minimized )
39- {
40- this . WindowState = IoC . Get < LocalityService > ( ) . TabWindowState ;
41- }
4238
4339 Focusable = true ;
4440 this . Loaded += ( _ , _ ) =>
@@ -121,6 +117,11 @@ public TabWindowView()
121117 {
122118 this . StopFlashingWindow ( ) ;
123119 } ;
120+
121+ if ( IoC . Get < LocalityService > ( ) . TabWindowState != System . Windows . WindowState . Minimized )
122+ {
123+ this . WindowState = IoC . Get < LocalityService > ( ) . TabWindowState ;
124+ }
124125 } ;
125126 }
126127
You can’t perform that action at this time.
0 commit comments