aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2019-10-08 19:59:07 +0200
committerDavid Robillard <d@drobilla.net>2019-10-08 19:59:07 +0200
commit78d0b5abe0f498ce413f54c2e9adcc2af1dc1e7d (patch)
treee1ad8dbc2adfbd8157d591b51f215d059028bcd9
parent6942e14509be8bbdfb822f35b338619205dcdd78 (diff)
downloadingen-78d0b5abe0f498ce413f54c2e9adcc2af1dc1e7d.tar.gz
ingen-78d0b5abe0f498ce413f54c2e9adcc2af1dc1e7d.tar.bz2
ingen-78d0b5abe0f498ce413f54c2e9adcc2af1dc1e7d.zip
Raise existing plugin UI windows if double-clicked again
-rw-r--r--src/gui/NodeModule.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/NodeModule.cpp b/src/gui/NodeModule.cpp
index b514b6ae..5984dbe1 100644
--- a/src/gui/NodeModule.cpp
+++ b/src/gui/NodeModule.cpp
@@ -344,8 +344,8 @@ NodeModule::popup_gui()
{
if (_block->plugin() && app().uris().lv2_Plugin == _block->plugin_model()->type()) {
if (_plugin_ui) {
- app().log().warn("LV2 GUI already embedded, cannot pop up\n");
- return false;
+ _gui_window->present();
+ return true;
}
const PluginModel* const plugin = dynamic_cast<const PluginModel*>(_block->plugin());