Don't use select_preset on OS X
This commit is contained in:
parent
c1d25ba259
commit
e7520c3d18
1 changed files with 7 additions and 1 deletions
|
@ -58,7 +58,10 @@ void Tab::create_preset_tab(PresetBundle *preset_bundle)
|
||||||
{
|
{
|
||||||
m_cc_presets_choice->SetText(selected);
|
m_cc_presets_choice->SetText(selected);
|
||||||
std::string selected_string = selected.ToUTF8().data();
|
std::string selected_string = selected.ToUTF8().data();
|
||||||
// select_preset(selected_string);
|
#ifdef __APPLE__
|
||||||
|
#else
|
||||||
|
select_preset(selected_string);
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -143,7 +146,10 @@ void Tab::create_preset_tab(PresetBundle *preset_bundle)
|
||||||
if (selected != _(L("System presets")) && selected != _(L("Default presets")))
|
if (selected != _(L("System presets")) && selected != _(L("Default presets")))
|
||||||
{
|
{
|
||||||
std::string selected_string = selected.ToUTF8().data();
|
std::string selected_string = selected.ToUTF8().data();
|
||||||
|
#ifdef __APPLE__
|
||||||
|
#else
|
||||||
select_preset(selected_string);
|
select_preset(selected_string);
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue