summaryrefslogtreecommitdiff
path: root/src/gui/widgets
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-10-18 00:22:33 +0300
committerAndrei Karas <akaras@inbox.ru>2014-10-18 00:22:33 +0300
commit6f5b826b89f6a481d358e02dd45a3da8209aadee (patch)
tree91817adf0e0ed9ff776cfb0b03c8a7c35674eb27 /src/gui/widgets
parent84b67aacfdedd8d526d246e3d3c0914a899d491c (diff)
downloadmanaverse-6f5b826b89f6a481d358e02dd45a3da8209aadee.tar.gz
manaverse-6f5b826b89f6a481d358e02dd45a3da8209aadee.tar.bz2
manaverse-6f5b826b89f6a481d358e02dd45a3da8209aadee.tar.xz
manaverse-6f5b826b89f6a481d358e02dd45a3da8209aadee.zip
Dont hide text popup if mouse event already consumed.
Diffstat (limited to 'src/gui/widgets')
-rw-r--r--src/gui/widgets/window.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/widgets/window.cpp b/src/gui/widgets/window.cpp
index 5cf430821..98a435f3f 100644
--- a/src/gui/widgets/window.cpp
+++ b/src/gui/widgets/window.cpp
@@ -840,7 +840,7 @@ void Window::updateResizeHandler(MouseEvent &event)
void Window::mouseMoved(MouseEvent &event)
{
updateResizeHandler(event);
- if (popupManager)
+ if (popupManager && !event.isConsumed())
{
popupManager->hideBeingPopup();
popupManager->hideTextPopup();