Loading pcbnew/tools/edit_tool.cpp +2 −2 Original line number Diff line number Diff line Loading @@ -148,8 +148,8 @@ int EDIT_TOOL::Main( TOOL_EVENT& aEvent ) if( restore ) { // Modifications has to be rollbacked, so restore the previous state of items wxCommandEvent dummy; editFrame->GetBoardFromUndoList( dummy ); wxCommandEvent undoEvent( wxEVT_TOOL, wxID_UNDO ); wxPostEvent( editFrame, undoEvent ); } else { Loading Loading
pcbnew/tools/edit_tool.cpp +2 −2 Original line number Diff line number Diff line Loading @@ -148,8 +148,8 @@ int EDIT_TOOL::Main( TOOL_EVENT& aEvent ) if( restore ) { // Modifications has to be rollbacked, so restore the previous state of items wxCommandEvent dummy; editFrame->GetBoardFromUndoList( dummy ); wxCommandEvent undoEvent( wxEVT_TOOL, wxID_UNDO ); wxPostEvent( editFrame, undoEvent ); } else { Loading