Commit eee97387 authored by marco.'s avatar marco.

OSX: Corrected issue with Menus, workaround/fix for an issue with Mountain Lion

parent fc9c8cc0
......@@ -656,7 +656,10 @@ void EDA_APP::GetSettings( bool aReopenLastUsedDirectory )
}
int draw_bg_color;
m_settings->Read( wxT( "BgColor" ), &draw_bg_color );
// FIXME OSX Mountain Lion (10.8)
// Seems that Read doesn't found anything and ColorFromInt Asserts - I'm unable to reproduce on 10.7
// In general terms i think is better have a failsafe BLACK default than an uninit variable
m_settings->Read( wxT( "BgColor" ), &draw_bg_color , BLACK );
g_DrawBgColor = ColorFromInt( draw_bg_color );
// Load per-user search paths from settings file
......
......@@ -51,12 +51,12 @@
enum id_eeschema_frm
{
ID_UPDATE_ONE_SHEET,
ID_UPDATE_ONE_SHEET = ID_END_LIST,
ID_SAVE_ONE_SHEET_UNDER_NEW_NAME,
ID_LOAD_ONE_SHEET,
/* Schematic editor horizontal toolbar IDs */
ID_HIERARCHY = ID_END_LIST,
ID_HIERARCHY,
ID_TO_LIBVIEW,
ID_GET_ANNOTATE,
ID_GET_ERC,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment