handle GUIs of missing or disabled plugins
This commit is contained in:
parent
0370b1988d
commit
e10e9ca77f
@ -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…
Reference in New Issue
Block a user