corrected stupid bug in settings causing crash when a plugin is ot loaded correctly

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4970 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
csoler 2012-02-19 21:28:07 +00:00
parent 48a34ba7a5
commit afb0a1ba42

View File

@ -126,7 +126,7 @@ RSettingsWin::initStackedWidget()
{
RsPlugin *pl = rsPlugins->plugin(i) ;
if(pl->qt_config_page() != NULL)
if(pl != NULL && pl->qt_config_page() != NULL)
addPage(pl->qt_config_page()) ;
}