Don't create MDI subwindow for VSTi without GUI
This commit is contained in:
committed by
Oskar Wallgren
parent
c3b07a5092
commit
277e8b6444
@@ -109,6 +109,9 @@ public:
|
||||
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() );
|
||||
|
||||
Reference in New Issue
Block a user