Fix for SPE-1843 - PresetComboBoxes on Settings Tabs doesn't revert the selection, when "Cancel" button is clicked in UnsaveChangesDilalog

This bug was caused by mistakenly commented line of code in 9e4859ebbf
This commit is contained in:
YuSanka 2023-08-15 10:39:51 +02:00
parent f79f2557d6
commit 6671413023

View File

@ -3652,7 +3652,8 @@ bool Tab::select_preset(std::string preset_name, bool delete_current /*=false*/,
}
}
// update_tab_ui(); //! ysFIXME delete after testing
// ! update preset combobox, to revert previously selection
update_tab_ui();
// Trigger the on_presets_changed event so that we also restore the previous value in the plater selector,
// if this action was initiated from the plater.