diff options
Diffstat (limited to 'src/gui/popups/itempopup.cpp')
-rw-r--r-- | src/gui/popups/itempopup.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gui/popups/itempopup.cpp b/src/gui/popups/itempopup.cpp index 2374f693b..33b2eba91 100644 --- a/src/gui/popups/itempopup.cpp +++ b/src/gui/popups/itempopup.cpp @@ -330,6 +330,11 @@ void ItemPopup::mouseMoved(MouseEvent &event) // When the mouse moved on top of the popup, hide it setVisible(Visible_false); + resetPopup(); +} + +void ItemPopup::resetPopup() +{ mLastName.clear(); mLastColor = 1; mLastId = 0; |