mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 06:44:57 +01:00
Yet Another Splash Push/Pop Fix
Don't explicitly `show()` the splash when a message arrives. On macOS and Windows the splash is not z-axis re-stacked but hidden. Calling show() makes it visible again.
This commit is contained in:
parent
b01fe8b0e4
commit
f715edf7bc
2 changed files with 7 additions and 7 deletions
|
|
@ -118,6 +118,7 @@ void
|
|||
ArdourDialog::on_unmap ()
|
||||
{
|
||||
Keyboard::the_keyboard().leave_window (0, this);
|
||||
pop_splash ();
|
||||
Dialog::on_unmap ();
|
||||
}
|
||||
|
||||
|
|
@ -131,10 +132,8 @@ ArdourDialog::on_show ()
|
|||
if (Splash::exists()) {
|
||||
Splash* spl = Splash::instance();
|
||||
|
||||
if (spl->is_visible()) {
|
||||
spl->pop_back_for (*this);
|
||||
_splash_pushed = true;
|
||||
}
|
||||
spl->pop_back_for (*this);
|
||||
_splash_pushed = true;
|
||||
}
|
||||
|
||||
_sensitive = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue