ENH: drop variant modify values if inconsistant

Change-Id: I6c3e487e4b222df63f91aceccff13c3afd002ab8
Jira: none
(cherry picked from commit 9801a10f7f660c25eb5f8269350f126d5facbd6a)
This commit is contained in:
chunmao.guo
2024-08-01 17:42:59 +08:00
committed by Noisyfox
parent 6598b626e7
commit 4a031af091
3 changed files with 38 additions and 22 deletions

View File

@@ -334,7 +334,7 @@ public:
void update_preset_choice();
// Select a new preset, possibly delete the current one.
bool select_preset(std::string preset_name = "", bool delete_current = false, const std::string& last_selected_ph_printer_name = "", bool force_select = false);
bool may_discard_current_dirty_preset(PresetCollection* presets = nullptr, const std::string& new_printer_name = "", bool no_transfer = false);
bool may_discard_current_dirty_preset(PresetCollection* presets = nullptr, const std::string& new_printer_name = "", bool no_transfer = false, bool no_transfer_variant = false);
virtual void clear_pages();
virtual void update_description_lines();