From 1a05bf08fcc552a491019336b4afabba9f6989ae Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Mon, 30 Jul 2018 16:18:41 +0200 Subject: 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. --- gtk2_ardour/editor_rulers.cc | 1 - 1 file changed, 1 deletion(-) (limited to 'gtk2_ardour') 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 -- cgit v1.2.3