use correct GTK response code, given YES/NO buttons
authorPaul Davis <paul@linuxaudiosystems.com>
Thu, 19 May 2016 19:44:35 +0000 (15:44 -0400)
committerPaul Davis <paul@linuxaudiosystems.com>
Tue, 31 May 2016 19:30:44 +0000 (15:30 -0400)
gtk2_ardour/vca_master_strip.cc

index eb433d04f2042bbd5ba7b2d36917363f4cf1bb0c..a6f69b1ec11b3be257fc9bd153031176e4c46da0 100644 (file)
@@ -234,7 +234,7 @@ VCAMasterStrip::hide_confirmation (int response)
        delete_dialog->hide ();
 
        switch (response) {
-       case RESPONSE_OK:
+       case RESPONSE_YES:
                /* get everything to deassign. This will also delete ourselves (when
                 * idle) and that in turn will remove us from the Mixer GUI
                 */