Fixed text placement tool in FP editor
Fixes: lp:1625304 * https://bugs.launchpad.net/kicad/+bug/1625304
This commit is contained in:
parent
bf4e50945a
commit
4bb16afc9e
|
@ -232,7 +232,7 @@ int DRAWING_TOOL::PlaceText( const TOOL_EVENT& aEvent )
|
|||
DialogEditModuleText textDialog( m_frame, textMod, NULL );
|
||||
bool placing = textDialog.ShowModal() && ( textMod->GetText().Length() > 0 );
|
||||
|
||||
if( !placing )
|
||||
if( placing )
|
||||
text = textMod;
|
||||
else
|
||||
delete textMod;
|
||||
|
|
Loading…
Reference in New Issue