summaryrefslogtreecommitdiff
path: root/src/gui/skilldialog.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/skilldialog.h')
-rw-r--r--src/gui/skilldialog.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/skilldialog.h b/src/gui/skilldialog.h
index 6423d56b..95f8ef25 100644
--- a/src/gui/skilldialog.h
+++ b/src/gui/skilldialog.h
@@ -69,6 +69,8 @@ class SkillDialog : public Window, public gcn::ActionListener
void setModifiable(int id, bool modifiable);
+ bool hasSkills() { return !mSkills.empty(); }
+
private:
typedef std::map<int, SkillInfo*> SkillMap;
SkillMap mSkills;