summaryrefslogtreecommitdiff
path: root/gtk2_ardour/location_ui.cc
diff options
context:
space:
mode:
authorColin Fletcher <colin.m.fletcher@googlemail.com>2013-06-30 13:08:03 +0100
committerColin Fletcher <colin.m.fletcher@googlemail.com>2013-06-30 14:32:30 +0100
commit4fa8b8708364f6dbe7ca199349ef6fe1af82f4a5 (patch)
tree11847f548eaff3854b2fd06d752dae671ac630cc /gtk2_ardour/location_ui.cc
parentfb8db038f7c8a322fc86901f86cf3313cc12055a (diff)
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.
Diffstat (limited to 'gtk2_ardour/location_ui.cc')
-rw-r--r--gtk2_ardour/location_ui.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk2_ardour/location_ui.cc b/gtk2_ardour/location_ui.cc
index 30a5b62426..9b9f3bfa22 100644
--- a/gtk2_ardour/location_ui.cc
+++ b/gtk2_ardour/location_ui.cc
@@ -1162,6 +1162,7 @@ LocationUIWindow::set_session (Session *s)
{
ArdourWindow::set_session (s);
_ui.set_session (s);
+ _ui.show_all ();
}
void