Skip to content

Commit 277e8b6

Browse files
DomClarkzonkmachine
authored andcommitted
Don't create MDI subwindow for VSTi without GUI
1 parent c3b07a5 commit 277e8b6

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

plugins/vestige/vestige.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,9 @@ class VstInstrumentPlugin : public VstPlugin
109109
void createUI( QWidget *parent ) override
110110
{
111111
Q_UNUSED(parent);
112+
if ( !hasEditor() ) {
113+
return;
114+
}
112115
if ( embedMethod() != "none" ) {
113116
m_pluginSubWindow.reset(new vstSubWin( gui->mainWindow()->workspace() ));
114117
VstPlugin::createUI( m_pluginSubWindow.get() );

0 commit comments

Comments
 (0)