From 2b0a1b7bb3b99b8362c66b7b6fbf4ba96664d69b Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Wed, 8 Sep 2021 21:52:14 +0200 Subject: [PATCH] Prefer ArdourMessageDialog, fix window stacking on top of port-matrix --- gtk2_ardour/port_matrix.cc | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/gtk2_ardour/port_matrix.cc b/gtk2_ardour/port_matrix.cc index e064d0aabd..4d861275e4 100644 --- a/gtk2_ardour/port_matrix.cc +++ b/gtk2_ardour/port_matrix.cc @@ -783,12 +783,7 @@ PortMatrix::remove_channel (ARDOUR::BundleChannel b) } if (!errmsg.empty ()) { - ArdourDialog d (_("Port removal not allowed")); - Label l (errmsg); - d.get_vbox()->pack_start (l); - d.add_button (Stock::OK, RESPONSE_ACCEPT); - d.set_modal (true); - d.show_all (); + ArdourMessageDialog d (_("Port removal not allowed")); d.run (); } }