Added call to schedule_background_process() when deleting modifier attribute
This commit is contained in:
parent
6a9c0d4543
commit
7d488e3424
1 changed files with 2 additions and 1 deletions
|
@ -85,7 +85,8 @@ 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);
|
||||||
wxTheApp->CallAfter([this]() {
|
wxGetApp().obj_list()->part_settings_changed();
|
||||||
|
wxTheApp->CallAfter([this]() {
|
||||||
wxWindowUpdateLocker noUpdates(m_parent);
|
wxWindowUpdateLocker noUpdates(m_parent);
|
||||||
update_settings_list();
|
update_settings_list();
|
||||||
m_parent->Layout();
|
m_parent->Layout();
|
||||||
|
|
Loading…
Reference in a new issue