fixed crash on copying texte modules
This commit is contained in:
parent
84b803042c
commit
6a02ee6c4b
|
@ -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 );
|
||||||
|
|
Loading…
Reference in New Issue