summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/skill.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/skill.cpp b/src/gui/skill.cpp
index 7e1ed49d..28a18723 100644
--- a/src/gui/skill.cpp
+++ b/src/gui/skill.cpp
@@ -102,7 +102,8 @@ void SkillDialog::update()
std::pair<int, int> exp = player_node->getExperience(a);
std::string sExp (toString(exp.first) + " / " + toString(exp.second));
- mSkillNameLabels.at(a)->setCaption("Skill" + toString(a));
+
+ mSkillNameLabels.at(a)->setCaption(LocalPlayer::getSkillName(a));
mSkillNameLabels.at(a)->adjustSize();
mSkillLevelLabels.at(a)->setCaption(skillLevel);
mSkillLevelLabels.at(a)->adjustSize();