diff options
author | David Robillard <d@drobilla.net> | 2019-10-08 19:59:07 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2019-10-08 19:59:07 +0200 |
commit | 78d0b5abe0f498ce413f54c2e9adcc2af1dc1e7d (patch) | |
tree | e1ad8dbc2adfbd8157d591b51f215d059028bcd9 /src | |
parent | 6942e14509be8bbdfb822f35b338619205dcdd78 (diff) | |
download | ingen-78d0b5abe0f498ce413f54c2e9adcc2af1dc1e7d.tar.gz ingen-78d0b5abe0f498ce413f54c2e9adcc2af1dc1e7d.tar.bz2 ingen-78d0b5abe0f498ce413f54c2e9adcc2af1dc1e7d.zip |
Raise existing plugin UI windows if double-clicked again
Diffstat (limited to 'src')
-rw-r--r-- | src/gui/NodeModule.cpp | 4 |
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()); |