Eeschema: fix bug when aborting a move label or text.

This commit is contained in:
jean-pierre charras 2011-09-08 08:39:14 +02:00
parent 0c44335795
commit f0f2a4cf9b
1 changed files with 1 additions and 0 deletions

View File

@ -70,6 +70,7 @@ static void abortMoveText( EDA_DRAW_PANEL* aPanel, wxDC* aDC )
// Never delete existing item, because it can be referenced by an undo/redo command
// Just restore its data
item->SwapData(olditem);
item->ClearFlags();
}
aPanel->Refresh();