Prefer ArdourMessageDialog, fix window stacking on top of port-matrix

This commit is contained in:
Robin Gareus 2021-09-08 21:52:14 +02:00
parent eb0498bb28
commit 2b0a1b7bb3
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04
1 changed files with 1 additions and 6 deletions

View File

@ -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 ();
}
}