Fix 'Location window is blank' (#5538)

Call set_session() on the location window from ARDOUR_UI::set_session(),
and show_all() on the location window's LocationUI in set_session,
so that it displays the markers and ranges of the current session.
This commit is contained in:
Colin Fletcher 2013-06-30 13:08:03 +01:00
parent fb8db038f7
commit 4fa8b87083
2 changed files with 2 additions and 0 deletions

View File

@ -106,6 +106,7 @@ ARDOUR_UI::set_session (Session *s)
big_clock->set_session (s);
time_info_box->set_session (s);
video_timeline->set_session (s);
location_ui->set_session (s);
/* sensitize menu bar options that are now valid */

View File

@ -1162,6 +1162,7 @@ LocationUIWindow::set_session (Session *s)
{
ArdourWindow::set_session (s);
_ui.set_session (s);
_ui.show_all ();
}
void