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:
Tobias Doerffel
2008-12-08 20:44:12 +00:00
parent 13c1836d6a
commit eb56db155f
2 changed files with 12 additions and 1 deletions

View File

@@ -196,7 +196,10 @@ void vstPlugin::showEditor( QWidget * _parent )
xe->show();
#endif
m_pluginWidget->show();
if( m_pluginWidget )
{
m_pluginWidget->show();
}
}