mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-12 23:49:06 +08:00
Fix compilation on Linux and OSX
This commit is contained in:
parent
2d3c2dc595
commit
a72184684c
@ -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…
x
Reference in New Issue
Block a user