summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-09-05 13:33:49 +0300
committerAndrei Karas <akaras@inbox.ru>2014-09-06 01:18:57 +0300
commite4aea077d98d37ddec91c76ca7ad359e321a7661 (patch)
treee2f64762b341af70509935c1db1f00db4ddb5f1a /src/gui
parentadb4df98be7f58e960ec2cf822fc567b55640848 (diff)
downloadmanaplus-e4aea077d98d37ddec91c76ca7ad359e321a7661.tar.gz
manaplus-e4aea077d98d37ddec91c76ca7ad359e321a7661.tar.bz2
manaplus-e4aea077d98d37ddec91c76ca7ad359e321a7661.tar.xz
manaplus-e4aea077d98d37ddec91c76ca7ad359e321a7661.zip
Set short name for unknown skills.
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/windows/skilldialog.cpp1
1 files changed, 1 insertions, 0 deletions
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;