From c4656b5c09f21217d91cfe6d06e23069f89066bd Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Fri, 1 May 2009 20:30:22 +0000 Subject: [PATCH] Set up rulers to prevent access to uninitialized variables later. git-svn-id: svn://localhost/ardour2/branches/3.0@5025 d708f5d6-7413-0410-9779-e7cbd77b26cf --- gtk2_ardour/editor.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gtk2_ardour/editor.cc b/gtk2_ardour/editor.cc index 346df2064d..ef1bc6024f 100644 --- a/gtk2_ardour/editor.cc +++ b/gtk2_ardour/editor.cc @@ -1241,6 +1241,8 @@ Editor::connect_to_session (Session *t) { session = t; + compute_fixed_ruler_scale (); + /* there are never any selected regions at startup */ sensitize_the_right_region_actions (false);