diff --git a/kbfxlib/data/kbfxplasmapluginloader.cpp b/kbfxlib/data/kbfxplasmapluginloader.cpp index ed2c458..0258ca7 100644 --- a/kbfxlib/data/kbfxplasmapluginloader.cpp +++ b/kbfxlib/data/kbfxplasmapluginloader.cpp @@ -103,7 +103,7 @@ KbfxPlasmaPluginLoader::getView ( TQString name ) pluginMap().remove ( it ); } init(); - KbfxDataStack * stack = pluginMap() [name]->data(); + KbfxDataStack * stack = pluginMap() [name] ? pluginMap() [name]->data() : NULL; if (stack == 0 ) { return new KbfxDataStack();