mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-03 04:40:39 +08:00
Follow up 2c0f826d - Call update of "Physical printer" tab visibility on Edit of physical printer
or change of physical printers with same printer model
This commit is contained in:
parent
5d293dc9fc
commit
403a3ec095
@ -374,8 +374,10 @@ void PresetComboBox::edit_physical_printer()
|
||||
return;
|
||||
|
||||
PhysicalPrinterDialog dlg(this->GetParent(),this->GetString(this->GetSelection()));
|
||||
if (dlg.ShowModal() == wxID_OK)
|
||||
if (dlg.ShowModal() == wxID_OK) {
|
||||
update();
|
||||
wxGetApp().show_printer_webview_tab();
|
||||
}
|
||||
}
|
||||
|
||||
void PresetComboBox::add_physical_printer()
|
||||
@ -610,6 +612,9 @@ bool PresetComboBox::selection_is_changed_according_to_physical_printers()
|
||||
else if (dynamic_cast<TabPresetComboBox*>(this)!=nullptr)
|
||||
wxGetApp().sidebar().update_presets(m_type);
|
||||
|
||||
// Check and show "Physical printer" page if needed
|
||||
wxGetApp().show_printer_webview_tab();
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user