summaryrefslogtreecommitdiff
path: root/python/settings.py
diff options
context:
space:
mode:
authorBrian Potchik <brian@vector35.com>2019-01-25 09:55:33 -0500
committerBrian Potchik <brian@vector35.com>2019-01-25 09:55:33 -0500
commit2c80bc959151a6b9888a8521a0efbba1a1843cb6 (patch)
treefa15ba8aa71e53578665c0be69cbe5fe75b37e66 /python/settings.py
parente4bcabe6035c279502b1bf29d5b2bb431676fdc6 (diff)
Add CopyValue to Settings APi.
Diffstat (limited to 'python/settings.py')
-rw-r--r--python/settings.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/python/settings.py b/python/settings.py
index e187f2fe..61c1c771 100644
--- a/python/settings.py
+++ b/python/settings.py
@@ -70,7 +70,10 @@ class Settings(object):
return core.BNSettingsUpdateProperty(self.registry_id, tr(), id, setting_property)
def get_schema(self):
- return core.BNSettingsGetSchema(self.registry_id);
+ return core.BNSettingsGetSchema(self.registry_id)
+
+ def copy_value(self, dest_registry_id, id):
+ return core.BNSettingsCopyValue(self.registry_id, dest_registry_id, id)
def reset(self, id, view = None, scope = SettingsScope.SettingsAutoScope):
if view is not None: