mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-05 03:20:08 +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
|
saveCapt = {} # see restorecaption param
|
||||||
saveIcon = {} # icons are not preserved by perspectives, so preserve them
|
saveIcon = {} # icons are not preserved by perspectives, so preserve them
|
||||||
saveMinimize = {} # see restoreminimize param
|
saveMinimize = {} # see restoreminimize param
|
||||||
|
|
||||||
|
if not self._notebooks:
|
||||||
|
self.DoUpdate()
|
||||||
|
|
||||||
for pane in self._panes:
|
for pane in self._panes:
|
||||||
|
|
||||||
# dock the notebook pages
|
# dock the notebook pages
|
||||||
|
|||||||
Reference in New Issue
Block a user