diff options
author | YuSanka <yusanka@gmail.com> | 2018-07-03 13:19:34 +0300 |
---|---|---|
committer | YuSanka <yusanka@gmail.com> | 2018-07-03 13:19:34 +0300 |
commit | b682fb1829a870b5e95cecd9bf0a95967993ce99 (patch) | |
tree | 256640bc5d8b45ed43a42961a49ab6decce2196e /xs/src/slic3r/GUI/Tab.cpp | |
parent | c7f3014d260b5634883170543e79c57fd1ddf0c1 (diff) |
Enabled "delete preset" button after current profile saving
Diffstat (limited to 'xs/src/slic3r/GUI/Tab.cpp')
-rw-r--r-- | xs/src/slic3r/GUI/Tab.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/xs/src/slic3r/GUI/Tab.cpp b/xs/src/slic3r/GUI/Tab.cpp index 8af00b2b6..9e0e4fc27 100644 --- a/xs/src/slic3r/GUI/Tab.cpp +++ b/xs/src/slic3r/GUI/Tab.cpp @@ -2134,6 +2134,8 @@ void Tab::save_preset(std::string name /*= ""*/) update_tab_ui(); // Update the selection boxes at the platter. on_presets_changed(); + // If current profile is saved, "delete preset" button have to be enabled + m_btn_delete_preset->Enable(true); if (m_name == "printer") static_cast<TabPrinter*>(this)->m_initial_extruders_count = static_cast<TabPrinter*>(this)->m_extruders_count; |