diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-11-10 21:34:14 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-11-10 21:34:14 +0300 |
commit | cb6f070779f94f3d69ba7576affb0588b61e7b7c (patch) | |
tree | 2ae6218ffff3691ca883de66007a4cd3b833bf5c /src/gui/viewport.cpp | |
parent | b7d3acab99fe4975d4598b6c9ac1ad88edfa8506 (diff) | |
download | manaplus-cb6f070779f94f3d69ba7576affb0588b61e7b7c.tar.gz manaplus-cb6f070779f94f3d69ba7576affb0588b61e7b7c.tar.bz2 manaplus-cb6f070779f94f3d69ba7576affb0588b61e7b7c.tar.xz manaplus-cb6f070779f94f3d69ba7576affb0588b61e7b7c.zip |
Add close to minimap context menu.
Diffstat (limited to 'src/gui/viewport.cpp')
-rw-r--r-- | src/gui/viewport.cpp | 3 |
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; |