diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-03-06 01:00:50 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-03-06 01:00:50 +0300 |
commit | 77d26ae604cdbf50705870371f517d544674dd6f (patch) | |
tree | f518ec5cb51675082e2bad214259c78162fb9f41 /src/gui/outfitwindow.cpp | |
parent | a2d4dc030ef2240abfab1001bdb8ee954f3dd0d1 (diff) | |
download | manaverse-77d26ae604cdbf50705870371f517d544674dd6f.tar.gz manaverse-77d26ae604cdbf50705870371f517d544674dd6f.tar.bz2 manaverse-77d26ae604cdbf50705870371f517d544674dd6f.tar.xz manaverse-77d26ae604cdbf50705870371f517d544674dd6f.zip |
Fix context menu in outfits window.
Diffstat (limited to 'src/gui/outfitwindow.cpp')
-rw-r--r-- | src/gui/outfitwindow.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/gui/outfitwindow.cpp b/src/gui/outfitwindow.cpp index 6eaa2ac4e..4f5f07445 100644 --- a/src/gui/outfitwindow.cpp +++ b/src/gui/outfitwindow.cpp @@ -402,8 +402,14 @@ void OutfitWindow::mousePressed(gcn::MouseEvent &event) if (index == -1) { if (event.getButton() == gcn::MouseEvent::RIGHT && viewport) + { viewport->showOutfitsPopup(); - Window::mousePressed(event); + event.consume(); + } + else + { + Window::mousePressed(event); + } return; } mMoved = false; |