From afb0a1ba422fa804d6b040a0eb9abdc357b01555 Mon Sep 17 00:00:00 2001 From: csoler Date: Sun, 19 Feb 2012 21:28:07 +0000 Subject: [PATCH] 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 --- retroshare-gui/src/gui/settings/rsettingswin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/retroshare-gui/src/gui/settings/rsettingswin.cpp b/retroshare-gui/src/gui/settings/rsettingswin.cpp index d36857d72..5964dea80 100644 --- a/retroshare-gui/src/gui/settings/rsettingswin.cpp +++ b/retroshare-gui/src/gui/settings/rsettingswin.cpp @@ -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()) ; }