diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-09-14 19:10:53 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-09-14 19:10:53 +0300 |
commit | 99592ffb7aa9774bd8e2f475f65c63846e01abdc (patch) | |
tree | 021cf500dbe3565da179639cd6bb09132e8d4e30 /src | |
parent | ef9b32b10f6d73881f77a0631a7082c39a579ffe (diff) | |
download | plus-99592ffb7aa9774bd8e2f475f65c63846e01abdc.tar.gz plus-99592ffb7aa9774bd8e2f475f65c63846e01abdc.tar.bz2 plus-99592ffb7aa9774bd8e2f475f65c63846e01abdc.tar.xz plus-99592ffb7aa9774bd8e2f475f65c63846e01abdc.zip |
fix closing not own equipment window.
Diffstat (limited to 'src')
-rw-r--r-- | src/gui/equipmentwindow.cpp | 3 |
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; |