win32-version: fixed crash when using VST plugins without GUI
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1888 0778d3d1-df1d-0410-868b-ea421aaaa00d
This commit is contained in:
@@ -196,7 +196,10 @@ void vstPlugin::showEditor( QWidget * _parent )
|
||||
xe->show();
|
||||
#endif
|
||||
|
||||
m_pluginWidget->show();
|
||||
if( m_pluginWidget )
|
||||
{
|
||||
m_pluginWidget->show();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user