Skip to content
Permalink
Browse files

Don't create MDI subwindow for VSTi without GUI

  • Loading branch information...
DomClark authored and zonkmachine committed Nov 25, 2018
1 parent c3b07a5 commit 277e8b64443001d0adca0afa379f1fd6ba8c55cc
Showing with 3 additions and 0 deletions.
  1. +3 −0 plugins/vestige/vestige.cpp
@@ -109,6 +109,9 @@ class VstInstrumentPlugin : public VstPlugin
void createUI( QWidget *parent ) override
{
Q_UNUSED(parent);
if ( !hasEditor() ) {
return;
}
if ( embedMethod() != "none" ) {
m_pluginSubWindow.reset(new vstSubWin( gui->mainWindow()->workspace() ));
VstPlugin::createUI( m_pluginSubWindow.get() );

0 comments on commit 277e8b6

Please sign in to comment.
You can’t perform that action at this time.