mirror of
https://github.com/geode-sdk/geode.git
synced 2024-11-14 19:15:05 -05:00
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
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:
parent
ddf27910fb
commit
741bc93a3b
1 changed files with 1 additions and 0 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue