diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-01-27 00:53:52 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-01-27 00:53:52 +0300 |
commit | cd6585887c19eda357328c704fa7e426029392e8 (patch) | |
tree | e427d81f2c735ebc1bf0c14889fd953dc31b4d8b | |
parent | 63464e42c9c2a23be25a828c5834bcb68004c278 (diff) | |
download | mv-cd6585887c19eda357328c704fa7e426029392e8.tar.gz mv-cd6585887c19eda357328c704fa7e426029392e8.tar.bz2 mv-cd6585887c19eda357328c704fa7e426029392e8.tar.xz mv-cd6585887c19eda357328c704fa7e426029392e8.zip |
Add missing check to skilldialog.
-rw-r--r-- | src/gui/skilldialog.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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)); } } |