summaryrefslogtreecommitdiff
path: root/src/gui/viewport.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-11-10 21:34:14 +0300
committerAndrei Karas <akaras@inbox.ru>2015-11-10 21:34:14 +0300
commitcb6f070779f94f3d69ba7576affb0588b61e7b7c (patch)
tree2ae6218ffff3691ca883de66007a4cd3b833bf5c /src/gui/viewport.cpp
parentb7d3acab99fe4975d4598b6c9ac1ad88edfa8506 (diff)
downloadmanaverse-cb6f070779f94f3d69ba7576affb0588b61e7b7c.tar.gz
manaverse-cb6f070779f94f3d69ba7576affb0588b61e7b7c.tar.bz2
manaverse-cb6f070779f94f3d69ba7576affb0588b61e7b7c.tar.xz
manaverse-cb6f070779f94f3d69ba7576affb0588b61e7b7c.zip
Add close to minimap context menu.
Diffstat (limited to 'src/gui/viewport.cpp')
-rw-r--r--src/gui/viewport.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/viewport.cpp b/src/gui/viewport.cpp
index 832708a45..69a7dd1e8 100644
--- a/src/gui/viewport.cpp
+++ b/src/gui/viewport.cpp
@@ -411,7 +411,8 @@ bool Viewport::openContextMenu(const MouseEvent &event)
return false;
popupMenu->showMapPopup(eventX, eventY,
(mMouseX + mPixelViewX) / mMap->getTileWidth(),
- (mMouseY + mPixelViewY) / mMap->getTileHeight());
+ (mMouseY + mPixelViewY) / mMap->getTileHeight(),
+ false);
return true;
}
return false;