Fix compilation on Linux and OSX

This commit is contained in:
YuSanka 2018-02-05 12:49:23 +01:00
parent 2d3c2dc595
commit a72184684c

View File

@ -92,7 +92,7 @@ void Tab::create_preset_tab(PresetBundle *preset_bundle)
//! we doing next:
int selected_item = m_presets_choice->GetSelection();
if (selected_item >= 0){
std::string selected_string = m_presets_choice->GetString(selected_item).ToUTF8();
std::string selected_string = m_presets_choice->GetString(selected_item).ToUTF8().data();
select_preset(selected_string);
}
}));