summaryrefslogtreecommitdiff
path: root/src/gui/models
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/models')
-rw-r--r--src/gui/models/skillmodel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/models/skillmodel.cpp b/src/gui/models/skillmodel.cpp
index 8bb1bdbf8..ea6781c8d 100644
--- a/src/gui/models/skillmodel.cpp
+++ b/src/gui/models/skillmodel.cpp
@@ -54,7 +54,7 @@ void SkillModel::updateVisibilities()
FOR_EACH (SkillList::const_iterator, it, mSkills)
{
- if ((*it) && (*it)->visible)
+ if ((*it) && (*it)->visible == Visible_true)
mVisibleSkills.push_back((*it));
}
}