From cd6585887c19eda357328c704fa7e426029392e8 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 27 Jan 2013 00:53:52 +0300 Subject: Add missing check to skilldialog. --- src/gui/skilldialog.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gui/skilldialog.cpp') diff --git a/src/gui/skilldialog.cpp b/src/gui/skilldialog.cpp index 3f5a00e61..29b9cb3db 100644 --- a/src/gui/skilldialog.cpp +++ b/src/gui/skilldialog.cpp @@ -583,7 +583,7 @@ void SkillModel::updateVisibilities() FOR_EACH (SkillList::const_iterator, it, mSkills) { - if ((*it)->visible) + if ((*it) && (*it)->visible) mVisibleSkills.push_back((*it)); } } -- cgit v1.2.3-70-g09d2