pcbnew: The checkbox 'Center on footprint' was not disabled when the actionButton was changed.
This commit is contained in:
parent
cf97432833
commit
91b850d8df
|
@ -323,6 +323,8 @@ void DIALOG_GLOBAL_EDIT_TEXT_AND_GRAPHICS::onActionButtonChange( wxCommandEvent&
|
||||||
m_fontLabel->Enable( enable );
|
m_fontLabel->Enable( enable );
|
||||||
m_fontCtrl->Enable( enable );
|
m_fontCtrl->Enable( enable );
|
||||||
|
|
||||||
|
m_centerOnFP->Enable( enable );
|
||||||
|
|
||||||
enable = !enable;
|
enable = !enable;
|
||||||
m_grid->Enable( enable );
|
m_grid->Enable( enable );
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue