mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-23 14:44:19 -06:00
Preparations to the localization update & new Slic3rPE.pot
This commit is contained in:
parent
4758b68e55
commit
16d5faac20
16 changed files with 1864 additions and 985 deletions
|
@ -230,8 +230,9 @@ void Tab::create_preset_tab(PresetBundle *preset_bundle)
|
|||
return;
|
||||
if (selected_item >= 0){
|
||||
std::string selected_string = m_presets_choice->GetString(selected_item).ToUTF8().data();
|
||||
if (selected_string == "------- System presets -------" ||
|
||||
selected_string == "------- User presets -------"){
|
||||
if (selected_string.find_first_of("-------") == 0
|
||||
/*selected_string == "------- System presets -------" ||
|
||||
selected_string == "------- User presets -------"*/){
|
||||
m_presets_choice->SetSelection(m_selected_preset_item);
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue