Fix 6783, Using "Esc" key doesn't cancel creating new Track/Bus Group
Also fixes it for other sources of delete events like closing the dialog.
This commit is contained in:
parent
30497db823
commit
100e156727
@ -184,9 +184,9 @@ RouteGroupDialog::do_run ()
|
||||
{
|
||||
while (1) {
|
||||
int const r = run ();
|
||||
if (r == Gtk::RESPONSE_CANCEL) {
|
||||
/* cancel, so just bail now */
|
||||
return Gtk::RESPONSE_CANCEL;
|
||||
|
||||
if (r != Gtk::RESPONSE_OK) {
|
||||
return true;
|
||||
}
|
||||
|
||||
if (unique_name (_name.get_text())) {
|
||||
|
Loading…
Reference in New Issue
Block a user