mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-15 09:32:09 +00:00
Fixed minor bug - Added missed layout of the Tab, when preset is saved with new name.
"Delete" button wasn't observed
This commit is contained in:
@@ -3569,6 +3569,7 @@ void Tab::save_preset(std::string name /*= ""*/, bool detach)
|
||||
on_presets_changed();
|
||||
// If current profile is saved, "delete preset" button have to be enabled
|
||||
m_btn_delete_preset->Show();
|
||||
m_btn_delete_preset->GetParent()->Layout();
|
||||
|
||||
if (m_type == Preset::TYPE_PRINTER)
|
||||
static_cast<TabPrinter*>(this)->m_initial_extruders_count = static_cast<TabPrinter*>(this)->m_extruders_count;
|
||||
|
||||
Reference in New Issue
Block a user