File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -172,19 +172,23 @@ public void Save(BinaryWriter outf)
172172 {
173173 foreach ( var window in Windows )
174174 if ( ! window . DoNotDisplayWindow )
175+ {
175176 // This if is added to not do the save in case of the out of focus window
176177 // See Source\RunActivity\Viewer3D\Popups\OutOfFocusWindow.cs
177178 window . Save ( outf ) ;
179+ }
178180 }
179181
180182 [ CallOnThread ( "Render" ) ]
181183 public void Restore ( BinaryReader inf )
182184 {
183185 foreach ( var window in Windows )
184186 if ( ! window . DoNotDisplayWindow )
187+ {
185188 // This if is added to not do the restore in case of the out of focus window
186189 // See Source\RunActivity\Viewer3D\Popups\OutOfFocusWindow.cs
187190 window . Restore ( inf ) ;
191+ }
188192 }
189193
190194 [ CallOnThread ( "Updater" ) ]
You can’t perform that action at this time.
0 commit comments