mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-05-14 19:12:38 -07:00
Fix compilation on Linux and OSX
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}));
|
||||
|
||||
Reference in New Issue
Block a user