From 6fbe645d6de8f907d3f48a5f38a06af192086c16 Mon Sep 17 00:00:00 2001 From: Ian McInerney Date: Sun, 4 Oct 2020 17:45:18 +0100 Subject: [PATCH] Ensure the page layout editor settings pages are in a subpage Without this, it looks like the settings for the program are actually common. --- pagelayout_editor/pl_editor_frame.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pagelayout_editor/pl_editor_frame.cpp b/pagelayout_editor/pl_editor_frame.cpp index cebf79b619..7971fc11d1 100644 --- a/pagelayout_editor/pl_editor_frame.cpp +++ b/pagelayout_editor/pl_editor_frame.cpp @@ -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() ); }