diff --git a/common/pgm_base.cpp b/common/pgm_base.cpp index 1f8b01ff2f..9ccb04b0c4 100644 --- a/common/pgm_base.cpp +++ b/common/pgm_base.cpp @@ -37,6 +37,7 @@ #include #include #include +#include #include #include @@ -426,11 +427,15 @@ bool PGM_BASE::initPgm() // Set locale option for separator used in float numbers SetLocaleTo_Default(); +#ifdef __WXMAC__ + // Always show filters on Open dialog to be able to choose plugin + wxSystemOptions::SetOption( wxOSX_FILEDIALOG_ALWAYS_SHOW_TYPES, 1 ); +#endif + return true; } - bool PGM_BASE::setExecutablePath() { m_bin_dir = wxStandardPaths::Get().GetExecutablePath(); diff --git a/pcbnew/zones_functions_for_undo_redo.cpp b/pcbnew/zones_functions_for_undo_redo.cpp index da7695e06f..e0aa775d54 100644 --- a/pcbnew/zones_functions_for_undo_redo.cpp +++ b/pcbnew/zones_functions_for_undo_redo.cpp @@ -204,8 +204,6 @@ void UpdateCopyOfZonesList( PICKED_ITEMS_LIST& aPickList, PICKED_ITEMS_LIST& aAuxiliaryList, BOARD* aPcb ) { - wxLogDebug( wxT( "Inside UpdadeCopyOfZonesList()." ) ); - for( unsigned kk = 0; kk < aPickList.GetCount(); kk++ ) { UNDO_REDO_T status = aPickList.GetPickedItemStatus( kk );