summaryrefslogtreecommitdiff
path: root/src/gui/skilldialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/skilldialog.cpp')
-rw-r--r--src/gui/skilldialog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/skilldialog.cpp b/src/gui/skilldialog.cpp
index 92c2ecace..1f36d6de9 100644
--- a/src/gui/skilldialog.cpp
+++ b/src/gui/skilldialog.cpp
@@ -610,7 +610,7 @@ void SkillDialog::addSkill(const int id, const int level, const int range,
skill->id = static_cast<unsigned int>(id);
SkillData *const data = skill->data;
data->name = "Unknown skill Id: " + toString(id);
- data->dispName = "Unknown skill Id: " + toString(id);
+ data->dispName = data->name;
data->description.clear();
data->setIcon("");
skill->modifiable = modifiable;