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

@@ -1,3 +1,11 @@
2008-12-08 Tobias Doerffel <tobydox/at/users/dot/sourceforge/dot/net>
* plugins/vst_base/vst_plugin.cpp:
win32-version: fixed crash when using VST plugins without GUI
* include/effect_chain.h:
export effectChain for properly building FLP import DLL
2008-12-08 Andrew Kelley <superjoe30/at/gmail/dot/com>
* src/gui/piano_roll.cpp:

View File

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