Commit f0f2a4cf authored by jean-pierre charras's avatar jean-pierre charras

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

parent 0c443357
...@@ -70,6 +70,7 @@ static void abortMoveText( EDA_DRAW_PANEL* aPanel, wxDC* aDC ) ...@@ -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 // Never delete existing item, because it can be referenced by an undo/redo command
// Just restore its data // Just restore its data
item->SwapData(olditem); item->SwapData(olditem);
item->ClearFlags();
} }
aPanel->Refresh(); aPanel->Refresh();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment