Use the correct parent for the pl editor color pane

This commit is contained in:
Marek Roszko 2020-10-18 22:06:17 -04:00
parent e826a4494a
commit ba503bedcf
1 changed files with 1 additions and 1 deletions

View File

@ -453,7 +453,7 @@ void PL_EDITOR_FRAME::InstallPreferences( PAGED_DIALOG* aParent,
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" ) );
book->AddSubPage( new PANEL_PL_EDITOR_COLOR_SETTINGS( this, aParent->GetTreebook() ), _( "Colors" ) );
aHotkeysPanel->AddHotKeys( GetToolManager() );
}