Added call to schedule_background_process() when deleting modifier attribute

This commit is contained in:
Enrico Turri 2019-04-03 12:45:06 +02:00
parent 6a9c0d4543
commit 7d488e3424

View File

@ -85,7 +85,8 @@ void ObjectSettings::update_settings_list()
#endif // __WXMSW__
btn->Bind(wxEVT_BUTTON, [opt_key, config, this](wxEvent &event) {
config->erase(opt_key);
wxTheApp->CallAfter([this]() {
wxGetApp().obj_list()->part_settings_changed();
wxTheApp->CallAfter([this]() {
wxWindowUpdateLocker noUpdates(m_parent);
update_settings_list();
m_parent->Layout();