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
This commit is contained in:
Carl Hetherington 2009-05-01 20:30:22 +00:00
parent 848df74e58
commit c4656b5c09
1 changed files with 2 additions and 0 deletions

View File

@ -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);