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 /src/gui | |
parent | 63464e42c9c2a23be25a828c5834bcb68004c278 (diff) | |
download | manaplus-cd6585887c19eda357328c704fa7e426029392e8.tar.gz manaplus-cd6585887c19eda357328c704fa7e426029392e8.tar.bz2 manaplus-cd6585887c19eda357328c704fa7e426029392e8.tar.xz manaplus-cd6585887c19eda357328c704fa7e426029392e8.zip |
Add missing check to skilldialog.
Diffstat (limited to 'src/gui')
-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)); } } |