mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 15:25:01 +01:00
Prefer ArdourMessageDialog, fix window stacking on top of port-matrix
This commit is contained in:
parent
eb0498bb28
commit
2b0a1b7bb3
1 changed files with 1 additions and 6 deletions
|
|
@ -783,12 +783,7 @@ PortMatrix::remove_channel (ARDOUR::BundleChannel b)
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!errmsg.empty ()) {
|
if (!errmsg.empty ()) {
|
||||||
ArdourDialog d (_("Port removal not allowed"));
|
ArdourMessageDialog 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 ();
|
|
||||||
d.run ();
|
d.run ();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue