summaryrefslogtreecommitdiff
path: root/gtk2_ardour/editor_route_groups.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2016-06-11 15:49:18 -0400
committerPaul Davis <paul@linuxaudiosystems.com>2016-06-11 15:49:38 -0400
commit2c44225df2569bffe452fe2a84b698488f203cf0 (patch)
treedbf597787d00d433ab998e9551ca996cb824b72d /gtk2_ardour/editor_route_groups.cc
parent63e6378713b1cb130efeb2347e42e796931b1415 (diff)
make RouteGroupDialog non-modal.
Not really how/why it was modal, but it did run a recursive main event loop, and these are always a bad idea for lots of reasons. So I removed that feature, which makes it non-modal. Not 100% tested yet.
Diffstat (limited to 'gtk2_ardour/editor_route_groups.cc')
-rw-r--r--gtk2_ardour/editor_route_groups.cc4
1 files changed, 1 insertions, 3 deletions
diff --git a/gtk2_ardour/editor_route_groups.cc b/gtk2_ardour/editor_route_groups.cc
index 7a6e22e76d..7d3f0e2ccd 100644
--- a/gtk2_ardour/editor_route_groups.cc
+++ b/gtk2_ardour/editor_route_groups.cc
@@ -572,9 +572,7 @@ EditorRouteGroups::set_session (Session* s)
void
EditorRouteGroups::run_new_group_dialog ()
{
- RouteList rl;
-
- return _editor->_group_tabs->run_new_group_dialog (rl, false);
+ return _editor->_group_tabs->run_new_group_dialog (0, false);
}
/** Called when a model row is deleted, but also when the model is