summaryrefslogtreecommitdiff
path: root/src/gui/trade.cpp
diff options
context:
space:
mode:
authorBertram <bertram@cegetel.net>2009-07-31 00:18:54 +0200
committerBertram <bertram@cegetel.net>2009-07-31 00:18:54 +0200
commitada0e4750e383bb9906153c1eec1e91dda6cf263 (patch)
tree1967bf30096b220baae4fbb3f20f5d73f52da2ff /src/gui/trade.cpp
parent92dae33631e5b2f43c280aa6b05861a4f2aa25e2 (diff)
downloadmana-ada0e4750e383bb9906153c1eec1e91dda6cf263.tar.gz
mana-ada0e4750e383bb9906153c1eec1e91dda6cf263.tar.bz2
mana-ada0e4750e383bb9906153c1eec1e91dda6cf263.tar.xz
mana-ada0e4750e383bb9906153c1eec1e91dda6cf263.zip
(Turmfalke patch) Added a scroll lock when resizing the Chat Window and taller grab point.
Diffstat (limited to 'src/gui/trade.cpp')
-rw-r--r--src/gui/trade.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/trade.cpp b/src/gui/trade.cpp
index e3325896..77296e64 100644
--- a/src/gui/trade.cpp
+++ b/src/gui/trade.cpp
@@ -257,7 +257,10 @@ void TradeWindow::action(const gcn::ActionEvent &event)
return;
if (!inventoryWindow->isVisible())
+ {
inventoryWindow->setVisible(true);
+ return;
+ }
if (!item)
return;