remove RouteGroupDialog::do_run() and replace its use with code that doesn't rely...
[ardour.git] / gtk2_ardour / group_tabs.cc
index 057f55163660753f652a46ff98f131cd7d16505c..cf2a6050894187b30721c30e6befe049bd744237 100644 (file)
@@ -603,6 +603,10 @@ GroupTabs::new_group_dialog_finished (int r, RouteGroupDialog* d, RouteList cons
 {
        if (r == RESPONSE_OK) {
 
+               if (!d->name_check()) {
+                       return;
+               }
+
                _session->add_route_group (d->group());
 
                if (rl) {