projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0370b19
)
handle GUIs of missing or disabled plugins
author
Robin Gareus
<robin@gareus.org>
Tue, 1 Sep 2015 11:28:33 +0000
(13:28 +0200)
committer
Robin Gareus
<robin@gareus.org>
Tue, 1 Sep 2015 11:28:33 +0000
(13:28 +0200)
gtk2_ardour/window_manager.cc
patch
|
blob
|
history
diff --git
a/gtk2_ardour/window_manager.cc
b/gtk2_ardour/window_manager.cc
index 01baf3e1fde9486e349c487209396cf3fb3784a5..f8f755747bcb7a410a944006c1b57481e5c90df5 100644
(file)
--- a/
gtk2_ardour/window_manager.cc
+++ b/
gtk2_ardour/window_manager.cc
@@
-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 ();
}