mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 23:35:03 +01:00
fix visual undo.
TODO: Check if it’s feasible/required to add a GUIPropertiesChanged signal and have axis-views subscribe to it.
This commit is contained in:
parent
5dc7866132
commit
614fc8c7bb
2 changed files with 2 additions and 0 deletions
|
|
@ -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:
|
||||
|
||||
|
|
|
|||
|
|
@ -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 ();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue