Skip to content

Commit 08a1b07

Browse files
committedMar 17, 2016
Disable watchDog when plugin was loaded successfully
1 parent c3881d4 commit 08a1b07

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed
 

‎src/app/qgspluginregistry.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -292,6 +292,8 @@ void QgsPluginRegistry::loadPythonPlugin( const QString& packageName )
292292
// add to settings
293293
settings.setValue( "/PythonPlugins/" + packageName, true );
294294
QgsMessageLog::logMessage( QObject::tr( "Loaded %1 (package: %2)" ).arg( pluginName, packageName ), QObject::tr( "Plugins" ), QgsMessageLog::INFO );
295+
296+
settings.remove( "/PythonPlugins/watchDog/" + packageName );
295297
}
296298
}
297299

@@ -370,6 +372,8 @@ void QgsPluginRegistry::loadCppPlugin( const QString& theFullPathName )
370372
QgsDebugMsg( QString( "plugin parent already set" ) );
371373
}
372374
}
375+
376+
settings.remove( "/Plugins/watchDog/" + baseName );
373377
}
374378
else
375379
{

0 commit comments

Comments
 (0)
Please sign in to comment.