summaryrefslogtreecommitdiff
path: root/gtk2_ardour
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2018-07-30 16:18:41 +0200
committerRobin Gareus <robin@gareus.org>2018-07-30 17:47:29 +0200
commit1a05bf08fcc552a491019336b4afabba9f6989ae (patch)
tree07a7f9d0a103bef33bb3919006c9111243166c41 /gtk2_ardour
parent0ad9d57154884d029dd5e8c29fa44bf1180b28c9 (diff)
Ruler visibility is not really a session-prop.
This fixes an issue with the session being marked as dirty without any actual change. Also this method indirectly called during session-load when the UI state is restored, a potential race with "Session::Loading" being unset.
Diffstat (limited to 'gtk2_ardour')
-rw-r--r--gtk2_ardour/editor_rulers.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/gtk2_ardour/editor_rulers.cc b/gtk2_ardour/editor_rulers.cc
index 7ee709de4c..401bb5282b 100644
--- a/gtk2_ardour/editor_rulers.cc
+++ b/gtk2_ardour/editor_rulers.cc
@@ -307,7 +307,6 @@ Editor::store_ruler_visibility ()
node->set_property (X_("videotl"), ruler_video_action->get_active());
_session->add_extra_xml (*node);
- _session->set_dirty ();
}
void