From ae1c4e2245edaeaa58db2cfe13f51ff20dcbe0fb Mon Sep 17 00:00:00 2001 From: Jean Pierre Cimalando Date: Tue, 24 Nov 2020 07:51:45 +0100 Subject: [PATCH] Redisplay all state on VST editor opened --- vst/SfizzVstEditor.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/vst/SfizzVstEditor.cpp b/vst/SfizzVstEditor.cpp index a37602c1..5d27aeb0 100644 --- a/vst/SfizzVstEditor.cpp +++ b/vst/SfizzVstEditor.cpp @@ -53,6 +53,10 @@ bool PLUGIN_API SfizzVstEditor::open(void* parent, const VSTGUI::PlatformType& p editor = new Editor(*this); editor_.reset(editor); } + + mustRedisplayState_ = true; + mustRedisplayUiState_ = true; + mustRedisplayPlayState_ = true; updateStateDisplay(); if (!frame->open(parent, platformType, config)) {