From 6bfcfa18e7757472d6df5658564e26343ee73b5d Mon Sep 17 00:00:00 2001 From: falkTX Date: Sun, 20 Jul 2014 23:36:29 +0100 Subject: [PATCH] Don't try to map UI if it's just a file-browser (audio/midi file) --- source/backend/plugin/NativePlugin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/backend/plugin/NativePlugin.cpp b/source/backend/plugin/NativePlugin.cpp index 30901ae72..6770edf43 100644 --- a/source/backend/plugin/NativePlugin.cpp +++ b/source/backend/plugin/NativePlugin.cpp @@ -715,7 +715,7 @@ public: } #ifndef BUILD_BRIDGE - if ((fDescriptor->hints & ::PLUGIN_USES_PARENT_ID) == 0) + if ((fDescriptor->hints & ::PLUGIN_USES_PARENT_ID) == 0 && std::strstr(fDescriptor->label, "file") == nullptr) pData->tryTransient(); #endif