Ruler visibility is not really a session-prop.
authorRobin Gareus <robin@gareus.org>
Mon, 30 Jul 2018 14:18:41 +0000 (16:18 +0200)
committerRobin Gareus <robin@gareus.org>
Mon, 30 Jul 2018 15:47:29 +0000 (17:47 +0200)
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

index 7ee709de4c4c63655508d7049d9a0de3f5b3fe44..401bb5282b172cecc6c87b7daf96570876e1a5c5 100644 (file)
@@ -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