win32-version: fixed crash when using VST plugins without GUI (stable backport)

git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/branches/lmms/stable-0.4@1890 0778d3d1-df1d-0410-868b-ea421aaaa00d
This commit is contained in:
Tobias Doerffel
2008-12-08 20:46:35 +00:00
parent e5dc935ec5
commit 56c5390888
2 changed files with 10 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();
}
}