diff --git a/common/eda_base_frame.cpp b/common/eda_base_frame.cpp index 9aa2de60a1..84cde264c3 100644 --- a/common/eda_base_frame.cpp +++ b/common/eda_base_frame.cpp @@ -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 ); } diff --git a/kicad/kicad.cpp b/kicad/kicad.cpp index 7b9e0ec2eb..7dc39c349f 100644 --- a/kicad/kicad.cpp +++ b/kicad/kicad.cpp @@ -31,6 +31,7 @@ #include #include #include +#include #include #include