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()
35
35
this . MinWidth = this . MinHeight = 300 ;
36
36
this . WindowStartupLocation = WindowStartupLocation . CenterScreen ;
37
37
this . WindowStyle = WindowStyle . SingleBorderWindow ;
38
- if ( IoC . Get < LocalityService > ( ) . TabWindowState != System . Windows . WindowState . Minimized )
39
- {
40
- this . WindowState = IoC . Get < LocalityService > ( ) . TabWindowState ;
41
- }
42
38
43
39
Focusable = true ;
44
40
this . Loaded += ( _ , _ ) =>
@@ -121,6 +117,11 @@ public TabWindowView()
121
117
{
122
118
this . StopFlashingWindow ( ) ;
123
119
} ;
120
+
121
+ if ( IoC . Get < LocalityService > ( ) . TabWindowState != System . Windows . WindowState . Minimized )
122
+ {
123
+ this . WindowState = IoC . Get < LocalityService > ( ) . TabWindowState ;
124
+ }
124
125
} ;
125
126
}
126
127
You can’t perform that action at this time.
0 commit comments