mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2025-12-15 17:20:07 +01:00
Merge pull request #2620 from AlessandroMattiazzi/Fix_AuiManager_missing_check
Added check condition to AuiManager LoadPerspective()
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user