mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-25 23:49:35 -05:00
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:
parent
48a34ba7a5
commit
afb0a1ba42
@ -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()) ;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user