|
|
@@ -524,6 +524,10 @@ public: |
|
|
|
if (parentContainer->isOnDesktop()) |
|
|
|
parentContainer->removeFromDesktop(); |
|
|
|
} |
|
|
|
|
|
|
|
filter->editorBeingDeleted (editor.get()); |
|
|
|
editor = nullptr; |
|
|
|
parentContainer = nullptr; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
@@ -696,6 +700,9 @@ public: |
|
|
|
} |
|
|
|
else |
|
|
|
{ |
|
|
|
if (editor == nullptr) |
|
|
|
editor = std::unique_ptr<AudioProcessorEditor>(filter->createEditorIfNeeded()); |
|
|
|
|
|
|
|
resetParentUI (features); |
|
|
|
*widget = parentContainer->getWindowHandle(); |
|
|
|
} |
|
|
|