mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-19 12:47:50 -06:00
Fix compilation on Linux and OSX
This commit is contained in:
parent
2d3c2dc595
commit
a72184684c
1 changed files with 1 additions and 1 deletions
|
@ -92,7 +92,7 @@ void Tab::create_preset_tab(PresetBundle *preset_bundle)
|
||||||
//! we doing next:
|
//! we doing next:
|
||||||
int selected_item = m_presets_choice->GetSelection();
|
int selected_item = m_presets_choice->GetSelection();
|
||||||
if (selected_item >= 0){
|
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);
|
select_preset(selected_string);
|
||||||
}
|
}
|
||||||
}));
|
}));
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue