Reenable m_useAuxOriginCheckBox when appropriate.

Fixes https://gitlab.com/kicad/code/kicad/-/issues/16424
This commit is contained in:
Jeff Young 2023-12-22 14:21:49 +00:00
parent 9910c670d2
commit 8b344b13e5
1 changed files with 3 additions and 0 deletions

View File

@ -709,6 +709,7 @@ void DIALOG_PLOT::SetPlotFormat( wxCommandEvent& event )
m_plotModeOpt->Enable( false );
setPlotModeChoiceSelection( FILLED );
m_plotMirrorOpt->Enable( true );
m_useAuxOriginCheckBox->Enable( true );
m_defaultPenSize.Enable( false );
m_scaleOpt->Enable( false );
m_scaleOpt->SetSelection( 1 );
@ -765,6 +766,7 @@ void DIALOG_PLOT::SetPlotFormat( wxCommandEvent& event )
setPlotModeChoiceSelection( FILLED );
m_plotMirrorOpt->Enable( false );
m_plotMirrorOpt->SetValue( false );
m_useAuxOriginCheckBox->Enable( true );
m_defaultPenSize.Enable( false );
m_scaleOpt->Enable( false );
m_scaleOpt->SetSelection( 1 );
@ -813,6 +815,7 @@ void DIALOG_PLOT::SetPlotFormat( wxCommandEvent& event )
setPlotModeChoiceSelection( FILLED );
m_plotMirrorOpt->Enable( false );
m_plotMirrorOpt->SetValue( false );
m_useAuxOriginCheckBox->Enable( true );
m_defaultPenSize.Enable( false );
m_scaleOpt->Enable( false );
m_scaleOpt->SetSelection( 1 );