Skip to content

Commit 9d0e200

Browse files
committed
Fix multiple patches opening in pluginmode at the same time
1 parent d2d9d11 commit 9d0e200

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Source/PluginProcessor.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1865,7 +1865,7 @@ void PluginProcessor::receiveSysMessage(SmallString const& selector, SmallArray<
18651865
if (!editors.empty()) {
18661866
auto* editor = editors[0];
18671867
if (auto* cnv = editor->getCurrentCanvas()) {
1868-
if (pluginModeFloatArgument)
1868+
if (pluginModeFloatArgument && !findPatchInPluginMode(0))
18691869
editor->getTabComponent().openInPluginMode(cnv->patch);
18701870
else if (editor->isInPluginMode())
18711871
editor->pluginMode->closePluginMode();

0 commit comments

Comments
 (0)