mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-07 22:25:46 +01:00
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:
parent
6822c2a904
commit
5de741c4ab
1 changed files with 4 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue