diff options
| author | Brian Potchik <brian@vector35.com> | 2020-06-17 17:25:55 -0400 |
|---|---|---|
| committer | Brian Potchik <brian@vector35.com> | 2020-06-17 17:25:55 -0400 |
| commit | a21af1a6d10074774315c6510d98920fb83338a2 (patch) | |
| tree | 4b129b4816d04bc59e1fd11f6112a1ac7924661c /settings.cpp | |
| parent | 676488bb396f41c4855af97fbe0d996238688399 (diff) | |
ResetAll settings API resets settings in the active schema by default.
Diffstat (limited to 'settings.cpp')
| -rw-r--r-- | settings.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/settings.cpp b/settings.cpp index 62d928e1..26448937 100644 --- a/settings.cpp +++ b/settings.cpp @@ -193,9 +193,9 @@ bool Settings::Reset(const string& key, Ref<BinaryView> view, BNSettingsScope sc } -bool Settings::ResetAll(Ref<BinaryView> view, BNSettingsScope scope) +bool Settings::ResetAll(Ref<BinaryView> view, BNSettingsScope scope, bool schemaOnly) { - return BNSettingsResetAll(m_object, view ? view->GetObject() : nullptr, scope); + return BNSettingsResetAll(m_object, view ? view->GetObject() : nullptr, scope, schemaOnly); } |
