summaryrefslogtreecommitdiff
path: root/src/gui/outfitwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/outfitwindow.cpp')
-rw-r--r--src/gui/outfitwindow.cpp8
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;