mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-11 08:47:52 -06:00
PhysicalPrinter : Implemented synchronizations from user printer profiles with "Print Host upload" information to the new physical printers
This commit is contained in:
parent
f138978fe7
commit
6d28d68e4a
6 changed files with 138 additions and 29 deletions
|
@ -359,8 +359,11 @@ bool PresetComboBox::selection_is_changed_according_to_physical_printers()
|
|||
// if new preset wasn't selected, there is no need to call update preset selection
|
||||
if (old_printer_preset == preset_name) {
|
||||
// we need just to update according Plater<->Tab PresetComboBox
|
||||
if (dynamic_cast<PlaterPresetComboBox*>(this)!=nullptr)
|
||||
if (dynamic_cast<PlaterPresetComboBox*>(this)!=nullptr) {
|
||||
wxGetApp().get_tab(m_type)->update_preset_choice();
|
||||
// Synchronize config.ini with the current selections.
|
||||
m_preset_bundle->export_selections(*wxGetApp().app_config);
|
||||
}
|
||||
else if (dynamic_cast<TabPresetComboBox*>(this)!=nullptr)
|
||||
wxGetApp().sidebar().update_presets(m_type);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue