summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-09-14 19:10:53 +0300
committerAndrei Karas <akaras@inbox.ru>2013-09-14 19:10:53 +0300
commit99592ffb7aa9774bd8e2f475f65c63846e01abdc (patch)
tree021cf500dbe3565da179639cd6bb09132e8d4e30
parentef9b32b10f6d73881f77a0631a7082c39a579ffe (diff)
downloadmv-99592ffb7aa9774bd8e2f475f65c63846e01abdc.tar.gz
mv-99592ffb7aa9774bd8e2f475f65c63846e01abdc.tar.bz2
mv-99592ffb7aa9774bd8e2f475f65c63846e01abdc.tar.xz
mv-99592ffb7aa9774bd8e2f475f65c63846e01abdc.zip
fix closing not own equipment window.
-rw-r--r--src/gui/equipmentwindow.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/equipmentwindow.cpp b/src/gui/equipmentwindow.cpp
index 4c89efff5..229303da2 100644
--- a/src/gui/equipmentwindow.cpp
+++ b/src/gui/equipmentwindow.cpp
@@ -293,7 +293,10 @@ void EquipmentWindow::mousePressed(gcn::MouseEvent& mouseEvent)
if (mouseEvent.getButton() == gcn::MouseEvent::LEFT)
{
if (mForing)
+ {
+ Window::mousePressed(mouseEvent);
return;
+ }
// Checks if any of the presses were in the equip boxes.
int i = 0;