diff options
Diffstat (limited to 'gtk2_ardour')
-rw-r--r-- | gtk2_ardour/axis_view.h | 1 | ||||
-rw-r--r-- | gtk2_ardour/editor.cc | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/gtk2_ardour/axis_view.h b/gtk2_ardour/axis_view.h index 4ce76c92ce..7334945c2c 100644 --- a/gtk2_ardour/axis_view.h +++ b/gtk2_ardour/axis_view.h @@ -75,6 +75,7 @@ class AxisView : public virtual Selectable, public PBD::ScopedConnectionList, pu virtual bool set_marked_for_display (bool); static GUIObjectState& gui_object_state(); + void clear_property_cache() { property_hashtable.clear(); } protected: diff --git a/gtk2_ardour/editor.cc b/gtk2_ardour/editor.cc index 83190a993a..c0d96c6890 100644 --- a/gtk2_ardour/editor.cc +++ b/gtk2_ardour/editor.cc @@ -4461,6 +4461,7 @@ Editor::use_visual_state (VisualState& vs) *ARDOUR_UI::instance()->gui_object_state = *vs.gui_state; for (TrackViewList::iterator i = track_views.begin(); i != track_views.end(); ++i) { + (*i)->clear_property_cache(); (*i)->reset_visual_state (); } } |