mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2026-03-04 17:44:46 -07:00
FIX: fix the printer drop-down list stuck problem
jira: none Change-Id: I69927a3dc1c2e2f562cbfc47bc5fcf99d0833cdb (cherry picked from commit b549be31804343dd2bc40dec38e58317e721fcf0)
This commit is contained in:
parent
00181ad03e
commit
01977d7d46
1 changed files with 2 additions and 2 deletions
|
|
@ -7976,8 +7976,8 @@ void Plater::priv::on_select_preset(wxCommandEvent &evt)
|
|||
//! combo->GetStringSelection().ToUTF8().data());
|
||||
|
||||
wxString wx_name = combo->GetString(selection);
|
||||
if (preset_type == Preset::TYPE_PRINTER) {
|
||||
wx_name = combo->get_preset_item_name(selection); }
|
||||
// if (preset_type == Preset::TYPE_PRINTER) {
|
||||
// wx_name = combo->get_preset_item_name(selection); }
|
||||
|
||||
std::string preset_name = wxGetApp().preset_bundle->get_preset_name_by_alias(preset_type,
|
||||
Preset::remove_suffix_modified(wx_name.ToUTF8().data()));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue