mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-16 11:17:51 -06:00
Fix of a regression update issue of the "modified" flag
at the active profile, specific to OSX. https://github.com/prusa3d/Slic3r/issues/632
This commit is contained in:
parent
7142126609
commit
4572fe69de
1 changed files with 5 additions and 0 deletions
|
@ -519,6 +519,11 @@ bool PresetCollection::update_dirty_ui(wxBitmapComboBox *ui)
|
||||||
ui->SetString(ui_id, wxString::FromUTF8(new_label.c_str()));
|
ui->SetString(ui_id, wxString::FromUTF8(new_label.c_str()));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#ifdef __APPLE__
|
||||||
|
// wxWidgets on OSX do not upload the text of the combo box line automatically.
|
||||||
|
// Force it to update by re-selecting.
|
||||||
|
ui->SetSelection(ui->GetSelection());
|
||||||
|
#endif /* __APPLE __ */
|
||||||
return was_dirty != is_dirty;
|
return was_dirty != is_dirty;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue