From af1a064ebf196a883a4dd3c2eefe373796abd3f6 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Wed, 14 Jan 2015 20:10:34 +0100 Subject: [PATCH] =?UTF-8?q?don=E2=80=99t=20show=20=E2=80=9C-all-=E2=80=9C?= =?UTF-8?q?=20group=20with=20currently=20does=20nothing.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- gtk2_ardour/mixer_ui.cc | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/gtk2_ardour/mixer_ui.cc b/gtk2_ardour/mixer_ui.cc index 2080df2b1b..94f6d5d71a 100644 --- a/gtk2_ardour/mixer_ui.cc +++ b/gtk2_ardour/mixer_ui.cc @@ -1290,6 +1290,14 @@ Mixer_UI::route_groups_changed () group_model->clear (); +#if 0 + /* this is currently not used, + * Mixer_UI::group_display_button_press() has a case for it, + * and a commented edit_route_group() but that's n/a since 2011. + * + * This code is left as reminder that + * row[group_columns.group] = 0 has special meaning. + */ { TreeModel::Row row; row = *(group_model->append()); @@ -1297,6 +1305,7 @@ Mixer_UI::route_groups_changed () row[group_columns.text] = (_("-all-")); row[group_columns.group] = 0; } +#endif _session->foreach_route_group (sigc::mem_fun (*this, &Mixer_UI::add_route_group));