summaryrefslogtreecommitdiff
path: root/src/gui/popups
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-09-10 14:29:17 +0300
committerAndrei Karas <akaras@inbox.ru>2015-09-10 14:29:17 +0300
commit69eed0d99caea86486206f8d45705827f7a6fe19 (patch)
tree426c59b2e6cbf7724ad4a44d00df6c59fa1e0471 /src/gui/popups
parentad5bfca7d5df9201e5460e68ca149674bac5ac2c (diff)
downloadmanaverse-69eed0d99caea86486206f8d45705827f7a6fe19.tar.gz
manaverse-69eed0d99caea86486206f8d45705827f7a6fe19.tar.bz2
manaverse-69eed0d99caea86486206f8d45705827f7a6fe19.tar.xz
manaverse-69eed0d99caea86486206f8d45705827f7a6fe19.zip
Add mouse move simulation. After char id to name mapping received, simulate mouse move.
Diffstat (limited to 'src/gui/popups')
-rw-r--r--src/gui/popups/itempopup.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/popups/itempopup.cpp b/src/gui/popups/itempopup.cpp
index 56e907620..e70de0a5c 100644
--- a/src/gui/popups/itempopup.cpp
+++ b/src/gui/popups/itempopup.cpp
@@ -281,6 +281,7 @@ std::string ItemPopup::getCardsString(const int *const cards)
{
name = toString(charId);
beingHandler->requestNameByCharId(charId);
+ mLastId = 0; // allow recreate popup with same data
}
// TRANSLATORS: named item description
label.append(strprintf(_("Item named: %s"), name.c_str()));