mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 07:14:56 +01:00
Fix switch custom -> generic plugin UI
See alsoe635571f2fandbd898a68
This commit is contained in:
parent
3b2eb7507b
commit
45398fb65c
1 changed files with 2 additions and 1 deletions
|
|
@ -4796,11 +4796,12 @@ ProcessorWindowProxy::get (bool create)
|
||||||
void
|
void
|
||||||
ProcessorWindowProxy::show_the_right_window (bool show_not_toggle)
|
ProcessorWindowProxy::show_the_right_window (bool show_not_toggle)
|
||||||
{
|
{
|
||||||
_unmap_connection.disconnect ();
|
|
||||||
if (_window && (is_custom != want_custom)) {
|
if (_window && (is_custom != want_custom)) {
|
||||||
/* drop existing window - wrong type */
|
/* drop existing window - wrong type */
|
||||||
set_state_mask (Gtkmm2ext::WindowProxy::StateMask (state_mask () & ~WindowProxy::Size));
|
set_state_mask (Gtkmm2ext::WindowProxy::StateMask (state_mask () & ~WindowProxy::Size));
|
||||||
|
_unmap_connection.block ();
|
||||||
drop_window ();
|
drop_window ();
|
||||||
|
_unmap_connection.unblock ();
|
||||||
}
|
}
|
||||||
if (_window && fully_visible () && show_not_toggle) {
|
if (_window && fully_visible () && show_not_toggle) {
|
||||||
return;
|
return;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue