From 591530b1e487bfac8f68198529c32f74ee78c6fb Mon Sep 17 00:00:00 2001 From: falkTX Date: Fri, 26 Apr 2013 06:48:40 +0100 Subject: [PATCH] Fix last commit --- source/backend/plugin/VstPlugin.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source/backend/plugin/VstPlugin.cpp b/source/backend/plugin/VstPlugin.cpp index 06a6749da..5c7b4ee5f 100644 --- a/source/backend/plugin/VstPlugin.cpp +++ b/source/backend/plugin/VstPlugin.cpp @@ -439,13 +439,13 @@ public: } else { - fGui.lastWidth = kData->gui->width(); - fGui.lastHeight = kData->gui->height(); - dispatcher(effEditClose, 0, 0, nullptr, 0.0f); if (kData->gui != nullptr) { + fGui.lastWidth = kData->gui->width(); + fGui.lastHeight = kData->gui->height(); + kData->gui->close(); delete kData->gui; kData->gui = nullptr;