13
0

Start new sessions with the playhead at 0 and the editor scrolled fully left (#3670).

git-svn-id: svn://localhost/ardour2/branches/3.0@8619 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Carl Hetherington 2011-01-30 12:48:00 +00:00
parent 6822c2a904
commit 5de741c4ab

View File

@ -2836,6 +2836,10 @@ ARDOUR_UI::build_session (const std::string& path, const std::string& snap_name,
new_session->add_instant_xml (*n, false);
}
/* Put the playhead at 0 and scroll fully left */
new_session->instant_xml(X_("Editor"))->add_property (X_("playhead"), X_("0"));
new_session->instant_xml(X_("Editor"))->add_property (X_("left-frame"), X_("0"));
set_session (new_session);
session_loaded = true;