Skip to content
Permalink
Browse files

Don't show error when loading empty VeSTige instance

  • Loading branch information...
DomClark authored and PhysSong committed Mar 3, 2019
1 parent 6fef905 commit 205b57531d8b3d11c6d666f302426057c41d3fb0
Showing with 7 additions and 1 deletion.
  1. +7 −1 plugins/vestige/vestige.cpp
@@ -181,7 +181,13 @@ vestigeInstrument::~vestigeInstrument()

void vestigeInstrument::loadSettings( const QDomElement & _this )
{
loadFile( _this.attribute( "plugin" ) );
QString plugin = _this.attribute( "plugin" );
if( plugin.isEmpty() )
{
return;
}

loadFile( plugin );
m_pluginMutex.lock();
if( m_plugin != NULL )
{

0 comments on commit 205b575

Please sign in to comment.
You can’t perform that action at this time.