From 8f67f2179dd1038f44d4ad3506ff33e9cf2dddbf Mon Sep 17 00:00:00 2001 From: Przemysław Grzywacz Date: Mon, 29 Apr 2013 22:32:30 +0200 Subject: Single xml solution - compatibility with skill-set and special-set Mana-mantis: #506. --- src/gui/skilldialog.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/gui') diff --git a/src/gui/skilldialog.cpp b/src/gui/skilldialog.cpp index 8c8abd19..a0c3e46b 100644 --- a/src/gui/skilldialog.cpp +++ b/src/gui/skilldialog.cpp @@ -368,7 +368,8 @@ void SkillDialog::loadSkills() for_each_xml_child_node(set, root) { - if (xmlStrEqual(set->name, BAD_CAST "set")) + if (xmlStrEqual(set->name, BAD_CAST "set") || + xmlStrEqual(set->name, BAD_CAST "skill-set")) { setCount++; setName = XML::getProperty(set, "name", strprintf(_("Skill Set %d"), setCount)); -- cgit v1.2.3-70-g09d2