diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2007-01-11 21:45:21 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2007-01-11 21:45:21 +0000 |
commit | bb02870c15a9db3f46e2e24d1d5c72e9ca5dfe0b (patch) | |
tree | 08bb1cc993982c52227b1108913d838f4a55eeb1 /gtk2_ardour/editor_mixer.cc | |
parent | e545b222b9ff9bde402da247910db424a04c1d2e (diff) |
various fixes to named selection mgmt and display, plus fixes for xfade mgmt and a bit of debugging for them too
git-svn-id: svn://localhost/ardour2/trunk@1313 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/editor_mixer.cc')
-rw-r--r-- | gtk2_ardour/editor_mixer.cc | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/gtk2_ardour/editor_mixer.cc b/gtk2_ardour/editor_mixer.cc index bfbb5104b2..2d8d04e94a 100644 --- a/gtk2_ardour/editor_mixer.cc +++ b/gtk2_ardour/editor_mixer.cc @@ -272,11 +272,21 @@ Editor::session_going_away () /* rip everything out of the list displays */ - region_list_clear (); // no clear() method in gtkmm 1.2 + region_list_display.set_model (Glib::RefPtr<Gtk::TreeStore>(0)); + route_list_display.set_model (Glib::RefPtr<Gtk::TreeStore>(0)); + named_selection_display.set_model (Glib::RefPtr<Gtk::TreeStore>(0)); + edit_group_display.set_model (Glib::RefPtr<Gtk::TreeStore>(0)); + + region_list_model->clear (); route_display_model->clear (); named_selection_model->clear (); group_model->clear (); + region_list_display.set_model (region_list_model); + route_list_display.set_model (route_display_model); + named_selection_display.set_model (named_selection_model); + edit_group_display.set_model (group_model); + edit_cursor_clock.set_session (0); zoom_range_clock.set_session (0); nudge_clock.set_session (0); |