diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2020-02-06 14:39:30 -0700 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2020-02-06 14:43:58 -0700 |
commit | 39e0c0a084a64ee2862bedb6bbc71129ab078b7a (patch) | |
tree | b818f1bbc6bb239d1fbb206b727a347fe1afbce4 /gtk2_ardour/axis_view.cc | |
parent | c791d5970f4956cbe96f116dd3811ffae5f112ec (diff) |
add AxisView::remove_gui_property()
Diffstat (limited to 'gtk2_ardour/axis_view.cc')
-rw-r--r-- | gtk2_ardour/axis_view.cc | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gtk2_ardour/axis_view.cc b/gtk2_ardour/axis_view.cc index 03ae8a4a57..c946d3cd8d 100644 --- a/gtk2_ardour/axis_view.cc +++ b/gtk2_ardour/axis_view.cc @@ -94,6 +94,13 @@ AxisView::get_gui_property (const std::string& property_name, std::string& value } void +AxisView::remove_gui_property (const std::string& property_name) +{ + property_hashtable.erase (property_name); + gui_object_state().remove_property (state_id(), property_name); +} + +void AxisView::set_gui_property (const std::string& property_name, const std::string& value) { property_hashtable.erase (property_name); |