mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-24 22:27:36 +01:00
handle GUIs of missing or disabled plugins
This commit is contained in:
parent
0370b1988d
commit
e10e9ca77f
1 changed files with 6 additions and 0 deletions
|
|
@ -97,6 +97,12 @@ Manager::show_visible() const
|
|||
{
|
||||
for (Windows::const_iterator i = _windows.begin(); i != _windows.end(); ++i) {
|
||||
if ((*i)->visible()) {
|
||||
if (! (*i)->get (true)) {
|
||||
/* the window may be a plugin GUI for a plugin which
|
||||
* is disabled or longer present.
|
||||
*/
|
||||
continue;
|
||||
}
|
||||
(*i)->show_all ();
|
||||
(*i)->present ();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue