Browse Source

Add back something removed by mistake..

tags/v1.9.11
falkTX 6 years ago
parent
commit
c78c2a77b6
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      source/backend/plugin/CarlaPluginVST2.cpp

+ 3
- 1
source/backend/plugin/CarlaPluginVST2.cpp View File

@@ -480,7 +480,6 @@ public:
uiTitle += " (GUI)"; uiTitle += " (GUI)";


intptr_t value = 0; intptr_t value = 0;
ERect* vstRect = nullptr;


if (fUI.window == nullptr) if (fUI.window == nullptr)
{ {
@@ -512,6 +511,9 @@ public:
{ {
fUI.isOpen = true; fUI.isOpen = true;


ERect* vstRect = nullptr;
dispatcher(effEditGetRect, 0, 0, &vstRect);

if (vstRect != nullptr) if (vstRect != nullptr)
{ {
const int width(vstRect->right - vstRect->left); const int width(vstRect->right - vstRect->left);


Loading…
Cancel
Save