PhysicalPrinters improvements:

- Added possibility to correct delete presets considering with the physical printers
- Smart switching to the printer preset if physical printer was selected
This commit is contained in:
YuSanka 2020-07-20 14:56:09 +02:00
parent 5eac36a310
commit 72ec414f1e
6 changed files with 302 additions and 91 deletions

View file

@ -275,6 +275,7 @@ public:
void load_current_preset();
void rebuild_page_tree();
void update_page_tree_visibility();
void update_delete_preset_btn();
void update_preset_choice();
// Select a new preset, possibly delete the current one.
void select_preset(std::string preset_name = "", bool delete_current = false, const std::string& last_selected_ph_printer_name = "");
@ -307,7 +308,6 @@ public:
void load_initial_data();
void update_dirty();
void update_tab_ui();
void update_physical_printers(std::string preset_name);
void load_config(const DynamicPrintConfig& config);
virtual void reload_config();
void update_mode();