diff options
author | bubnikv <bubnikv@gmail.com> | 2019-03-23 10:23:22 +0300 |
---|---|---|
committer | bubnikv <bubnikv@gmail.com> | 2019-03-23 10:23:22 +0300 |
commit | 4f585f11575d49dd086bc65badd4b3ebe2f10955 (patch) | |
tree | 6dbac3b169becec48929fd3deda4029db682b90f /src/slic3r/GUI/GUI_ObjectSettings.cpp | |
parent | c623cbc4d72bbd5e05c27946292139fd2576b7fc (diff) |
Improved rendering when deleting an option from object's overrides.
Replaced the single column icon with an empty icon.
Will it break something? The single column added an ugly spacer
in front of non-editable combo boxes.
Diffstat (limited to 'src/slic3r/GUI/GUI_ObjectSettings.cpp')
-rw-r--r-- | src/slic3r/GUI/GUI_ObjectSettings.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/slic3r/GUI/GUI_ObjectSettings.cpp b/src/slic3r/GUI/GUI_ObjectSettings.cpp index db9af7cce..dbfdb8e6c 100644 --- a/src/slic3r/GUI/GUI_ObjectSettings.cpp +++ b/src/slic3r/GUI/GUI_ObjectSettings.cpp @@ -10,6 +10,8 @@ #include "I18N.hpp" +#include <wx/wupdlock.h> + namespace Slic3r { namespace GUI @@ -84,6 +86,7 @@ void ObjectSettings::update_settings_list() btn->Bind(wxEVT_BUTTON, [opt_key, config, this](wxEvent &event) { config->erase(opt_key); wxTheApp->CallAfter([this]() { + wxWindowUpdateLocker noUpdates(m_parent); update_settings_list(); m_parent->Layout(); }); |