Commit 563bff9d authored by Marco Mattila's avatar Marco Mattila

Keep current tool selection when saving in pcbnew.

parent 2d2c73ef
......@@ -44,7 +44,11 @@ void WinEDA_PcbFrame::Files_io( wxCommandEvent& event )
int id = event.GetId();
wxString msg;
// If an edition is in progress, stop it
// If an edition is in progress, stop it.
// For something else than save, get rid of current tool.
if( id == ID_SAVE_BOARD )
DrawPanel->UnManageCursor( -1, DrawPanel->GetDefaultCursor() );
else
DrawPanel->UnManageCursor( 0, DrawPanel->GetDefaultCursor() );
switch( id )
......
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