3d-viewer preferences: fix incorrect parent of a panel.

This commit is contained in:
jean-pierre charras 2021-06-11 16:09:00 +02:00
parent 803e2101de
commit 6ab995d6a4
1 changed files with 1 additions and 1 deletions

View File

@ -232,7 +232,7 @@ void EDA_3D_VIEWER::InstallPreferences( PAGED_DIALOG* aParent, PANEL_HOTKEYS_EDI
wxTreebook* book = aParent->GetTreebook();
book->AddPage( new wxPanel( book ), _( "3D Viewer" ) );
book->AddSubPage( new PANEL_3D_DISPLAY_OPTIONS( this, aParent ), _( "Display Options" ) );
book->AddSubPage( new PANEL_3D_DISPLAY_OPTIONS( this, book ), _( "Display Options" ) );
book->AddSubPage( new PANEL_3D_OPENGL_OPTIONS( this, book ), _( "OpenGL" ) );
book->AddSubPage( new PANEL_3D_RAYTRACING_OPTIONS( this, book ), _( "Raytracing" ) );
book->AddSubPage( new PANEL_3D_COLORS( this, book ), _( "Colors" ) );