Skip to content

Commit

Permalink
Perspectives may have saved the "Supressed Dockable" state. Make sure…
Browse files Browse the repository at this point in the history
… the state matches the users preferences/config
  • Loading branch information
dkulp committed Jul 29, 2023
1 parent b123547 commit 5d2a57c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions xLights/sequencer/tabSequencer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2850,9 +2850,9 @@ void xLightsFrame::DoLoadPerspective(wxXmlNode *perspective)
PopTraceContext();

//perspectives may have been saved without the maximize button flag, we'll
//make sure it's turned on
m_mgr->GetPane("ModelPreview").MaximizeButton(true);
m_mgr->GetPane("HousePreview").MaximizeButton(true);
//make sure it's turned on. Make sure Dockable state matches menu options/configuration
m_mgr->GetPane("ModelPreview").MaximizeButton(true).Dockable(IsDockable("MP"));
m_mgr->GetPane("HousePreview").MaximizeButton(true).Dockable(IsDockable("HP"));
m_mgr->GetPane("DisplayElements").MaximizeButton(true);

ShowHideAllSequencerWindows(true);
Expand Down

0 comments on commit 5d2a57c

Please sign in to comment.