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