mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-04-19 18:31:40 +00:00
Formatting.
This commit is contained in:
parent
c7ad5efbed
commit
86d7cf5d96
pcbnew
@ -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
|
||||
// undo/redo/abort proper operation
|
||||
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
Block a user