Schematic: remove unnecessary drag mirror/rotate control disabling
The whole edit dialog is blocked while dragging if anything else is drag selected, and if nothing is drag selected the rotations/mirroring will be fine. Also, we already allow mirror and rotate while dragging, using the keyboard shortcuts and menu items, and it works fine.
This commit is contained in:
parent
b5b65e1455
commit
13f67aa7ce
|
@ -319,15 +319,6 @@ DIALOG_SYMBOL_PROPERTIES::DIALOG_SYMBOL_PROPERTIES( SCH_EDIT_FRAME* aParent,
|
||||||
m_spiceFieldsButton->Hide();
|
m_spiceFieldsButton->Hide();
|
||||||
#endif /* not KICAD_SPICE */
|
#endif /* not KICAD_SPICE */
|
||||||
|
|
||||||
// disable some options inside the edit dialog which can cause problems while dragging
|
|
||||||
if( m_symbol->IsDragging() )
|
|
||||||
{
|
|
||||||
m_orientationLabel->Disable();
|
|
||||||
m_orientationCtrl->Disable();
|
|
||||||
m_mirrorLabel->Disable();
|
|
||||||
m_mirrorCtrl->Disable();
|
|
||||||
}
|
|
||||||
|
|
||||||
// Give a bit more room for combobox editors
|
// Give a bit more room for combobox editors
|
||||||
m_fieldsGrid->SetDefaultRowSize( m_fieldsGrid->GetDefaultRowSize() + 4 );
|
m_fieldsGrid->SetDefaultRowSize( m_fieldsGrid->GetDefaultRowSize() + 4 );
|
||||||
m_pinGrid->SetDefaultRowSize( m_pinGrid->GetDefaultRowSize() + 4 );
|
m_pinGrid->SetDefaultRowSize( m_pinGrid->GetDefaultRowSize() + 4 );
|
||||||
|
|
Loading…
Reference in New Issue