From e4aea077d98d37ddec91c76ca7ad359e321a7661 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 5 Sep 2014 13:33:49 +0300 Subject: Set short name for unknown skills. --- src/gui/windows/skilldialog.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/gui/windows/skilldialog.cpp b/src/gui/windows/skilldialog.cpp index 8784ded34..b2902556e 100644 --- a/src/gui/windows/skilldialog.cpp +++ b/src/gui/windows/skilldialog.cpp @@ -380,6 +380,7 @@ void SkillDialog::addSkill(const int id, } data->description.clear(); data->setIcon(""); + data->shortName = toString(skill->id); skill->modifiable = modifiable; skill->visible = false; skill->model = mDefaultModel; -- cgit v1.2.3-70-g09d2