make sure resetting also marks settings as committed
Some checks are pending
Build Binaries / Build Windows (push) Waiting to run
Build Binaries / Build macOS (push) Waiting to run
Build Binaries / Build Android (64-bit) (push) Waiting to run
Build Binaries / Build Android (32-bit) (push) Waiting to run
Build Binaries / Publish (push) Blocked by required conditions

This commit is contained in:
HJfod 2024-09-04 22:18:23 +03:00
parent ddf27910fb
commit 741bc93a3b

View file

@ -179,6 +179,7 @@ void SettingNodeV3::commit() {
}
void SettingNodeV3::resetToDefault() {
m_impl->setting->reset();
m_impl->committed = true;
this->onResetToDefault();
this->updateState();
SettingNodeValueChangeEventV3(this, false).post();