Merge pull request #2620 from AlessandroMattiazzi/Fix_AuiManager_missing_check

Added check condition to AuiManager LoadPerspective()
This commit is contained in:
Scott Talbert
2024-10-14 20:38:12 -04:00
committed by GitHub

View File

@@ -5244,6 +5244,10 @@ class AuiManager(wx.EvtHandler):
saveCapt = {} # see restorecaption param
saveIcon = {} # icons are not preserved by perspectives, so preserve them
saveMinimize = {} # see restoreminimize param
if not self._notebooks:
self.DoUpdate()
for pane in self._panes:
# dock the notebook pages