From 78d0b5abe0f498ce413f54c2e9adcc2af1dc1e7d Mon Sep 17 00:00:00 2001 From: David Robillard Date: Tue, 8 Oct 2019 19:59:07 +0200 Subject: Raise existing plugin UI windows if double-clicked again --- src/gui/NodeModule.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gui') 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(_block->plugin()); -- cgit v1.2.1