Formatting.
This commit is contained in:
parent
c7ad5efbed
commit
86d7cf5d96
|
@ -98,11 +98,11 @@ bool DIALOG_TARGET_PROPERTIES::TransferDataFromWindow()
|
|||
bool pushCommit = ( m_Target->GetEditFlags() == 0 );
|
||||
|
||||
if( m_Target->GetEditFlags() != 0 ) // other edit in progress (MOVE, NEW ..)
|
||||
m_Target->SetFlags( IN_EDIT ); // set flag in edit to force
|
||||
m_Target->SetFlags( IN_EDIT ); // set flag IN_EDIT to force
|
||||
// undo/redo/abort proper operation
|
||||
|
||||
m_Target->SetWidth( m_Thickness.GetValue() );
|
||||
m_Target->SetSize( m_Size.GetValue() );
|
||||
m_Target->SetWidth( m_Thickness.GetIntValue() );
|
||||
m_Target->SetSize( m_Size.GetIntValue() );
|
||||
m_Target->SetShape( m_TargetShape->GetSelection() ? 1 : 0 );
|
||||
|
||||
if( pushCommit )
|
||||
|
|
|
@ -323,6 +323,7 @@ public:
|
|||
if( !this->HasFlag( IN_EDIT ) )
|
||||
{
|
||||
PCB_GENERATOR::Flip( aCentre, aFlipLeftRight );
|
||||
|
||||
if( aFlipLeftRight )
|
||||
MIRROR( m_end.x, aCentre.x );
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue