summaryrefslogtreecommitdiffhomepage
path: root/options/connector.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'options/connector.cpp')
-rw-r--r--options/connector.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/options/connector.cpp b/options/connector.cpp
index 90770167..35d408d5 100644
--- a/options/connector.cpp
+++ b/options/connector.cpp
@@ -78,4 +78,11 @@ void connector::notify_all_values() const
val->notify();
}
+void connector::set_all_to_default_()
+{
+ for (auto& pair : connected_values)
+ for (auto& val : pair.second)
+ val->set_to_default();
+}
+
} // ns options::detail