Undo last commit and fix include. Woops

This commit is contained in:
Marek Roszko 2020-10-18 12:43:38 -04:00
parent 1f3796bd7a
commit da96c9959d
2 changed files with 3 additions and 2 deletions

View File

@ -800,8 +800,8 @@ void EDA_BASE_FRAME::OnPreferences( wxCommandEvent& event )
for( size_t i = 0; i < book->GetPageCount(); ++i )
book->GetPage( i )->Layout();
// if( dlg.ShowModal() == wxID_OK )
// dlg.Kiway().CommonSettingsChanged( false, false );
if( dlg.ShowModal() == wxID_OK )
dlg.Kiway().CommonSettingsChanged( false, false );
}

View File

@ -31,6 +31,7 @@
#include <wx/filename.h>
#include <wx/log.h>
#include <wx/app.h>
#include <wx/stdpaths.h>
#include <filehistory.h>
#include <hotkeys_basic.h>