summaryrefslogtreecommitdiff
path: root/src/gui/popups/skillpopup.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-07-19 21:23:52 +0300
committerAndrei Karas <akaras@inbox.ru>2016-07-19 21:23:52 +0300
commit99d68089180167c0ed23bf167ef57eb551114b45 (patch)
tree840ce77c4a1a8d7f6d73d02accc00ef07f6af00a /src/gui/popups/skillpopup.cpp
parent66dadb1212115f4b11e5d3c0857b5a25bd6399ee (diff)
downloadmanaplus-99d68089180167c0ed23bf167ef57eb551114b45.tar.gz
manaplus-99d68089180167c0ed23bf167ef57eb551114b45.tar.bz2
manaplus-99d68089180167c0ed23bf167ef57eb551114b45.tar.xz
manaplus-99d68089180167c0ed23bf167ef57eb551114b45.zip
Update skill popup if any skill was changed.
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;
+}