Ensure the page layout editor settings pages are in a subpage

Without this, it looks like the settings for the program are
actually common.
This commit is contained in:
Ian McInerney 2020-10-04 17:45:18 +01:00
parent 8b0fb9f4cf
commit 6fbe645d6d
1 changed files with 3 additions and 2 deletions

View File

@ -444,8 +444,9 @@ void PL_EDITOR_FRAME::InstallPreferences( PAGED_DIALOG* aParent,
{
wxTreebook* book = aParent->GetTreebook();
book->AddPage( new PANEL_GAL_DISPLAY_OPTIONS( this, aParent ), _( "Display Options" ) );
book->AddPage( new PANEL_PL_EDITOR_COLOR_SETTINGS( this, aParent ), _( "Colors" ) );
book->AddPage( new wxPanel( book ), _( "Page Layout Editor" ) );
book->AddSubPage( new PANEL_GAL_DISPLAY_OPTIONS( this, aParent ), _( "Display Options" ) );
book->AddSubPage( new PANEL_PL_EDITOR_COLOR_SETTINGS( this, aParent ), _( "Colors" ) );
aHotkeysPanel->AddHotKeys( GetToolManager() );
}