fixed crash on copying texte modules

This commit is contained in:
Kristoffer Ödmark 2017-05-21 21:59:40 +02:00 committed by Tomasz Włostowski
parent 84b803042c
commit 6a02ee6c4b
1 changed files with 0 additions and 1 deletions

View File

@ -424,7 +424,6 @@ int MODULE_EDITOR_TOOLS::PasteItems( const TOOL_EVENT& aEvent )
// Whyyyyyyyyyyyyyyyyyyyyyy?! All other items conform to rotation performed // Whyyyyyyyyyyyyyyyyyyyyyy?! All other items conform to rotation performed
// on its parent module, but texts are so independent.. // on its parent module, but texts are so independent..
text->Rotate( text->GetPosition(), pastedModule->GetOrientation() ); text->Rotate( text->GetPosition(), pastedModule->GetOrientation() );
commit.Add( text );
} }
commit.Add( clone ); commit.Add( clone );