diff --git a/cvpcb/cvpcb_mainframe.cpp b/cvpcb/cvpcb_mainframe.cpp index e1324df10e..0309ae413b 100644 --- a/cvpcb/cvpcb_mainframe.cpp +++ b/cvpcb/cvpcb_mainframe.cpp @@ -264,8 +264,6 @@ void CVPCB_MAINFRAME::setupEventHandlers() Bind( wxEVT_BUTTON, [this]( wxCommandEvent& ) { - // Throw away modifications on a Cancel - m_modified = false; Close( false ); }, wxID_CANCEL );