summaryrefslogtreecommitdiff
path: root/src/gui/popups/skillpopup.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/popups/skillpopup.cpp')
-rw-r--r--src/gui/popups/skillpopup.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gui/popups/skillpopup.cpp b/src/gui/popups/skillpopup.cpp
index efd9e1f50..f6e1f19a7 100644
--- a/src/gui/popups/skillpopup.cpp
+++ b/src/gui/popups/skillpopup.cpp
@@ -179,3 +179,9 @@ void SkillPopup::mouseMoved(MouseEvent &event)
setVisible(Visible_false);
mLastId = 0;
}
+
+void SkillPopup::reset()
+{
+ mLastId = 0;
+ mLastLevel = 0;
+}