mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-11 08:47:52 -06:00
Platter->Plater
This commit is contained in:
parent
9f65b6bc96
commit
07d6fd8f7e
13 changed files with 34 additions and 34 deletions
|
@ -905,7 +905,7 @@ void Tab::update_wiping_button_visibility() {
|
|||
}
|
||||
|
||||
|
||||
// Call a callback to update the selection of presets on the platter:
|
||||
// Call a callback to update the selection of presets on the plater:
|
||||
// To update the content of the selection boxes,
|
||||
// to update the filament colors of the selection boxes,
|
||||
// to update the "dirty" flags of the selection boxes,
|
||||
|
@ -2825,7 +2825,7 @@ void Tab::select_preset(std::string preset_name, bool delete_current)
|
|||
if (canceled) {
|
||||
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 platter.
|
||||
// if this action was initiated from the plater.
|
||||
on_presets_changed();
|
||||
} else {
|
||||
if (current_dirty)
|
||||
|
@ -3053,7 +3053,7 @@ void Tab::save_preset(std::string name /*= ""*/)
|
|||
m_preset_bundle->update_compatible(false);
|
||||
// Add the new item into the UI component, remove dirty flags and activate the saved item.
|
||||
update_tab_ui();
|
||||
// Update the selection boxes at the platter.
|
||||
// Update the selection boxes at the plater.
|
||||
on_presets_changed();
|
||||
// If current profile is saved, "delete preset" button have to be enabled
|
||||
m_btn_delete_preset->Enable(true);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue