summaryrefslogtreecommitdiff
path: root/src
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
parent92dae33631e5b2f43c280aa6b05861a4f2aa25e2 (diff)
downloadmana-client-ada0e4750e383bb9906153c1eec1e91dda6cf263.tar.gz
mana-client-ada0e4750e383bb9906153c1eec1e91dda6cf263.tar.bz2
mana-client-ada0e4750e383bb9906153c1eec1e91dda6cf263.tar.xz
mana-client-ada0e4750e383bb9906153c1eec1e91dda6cf263.zip
(Turmfalke patch) Added a scroll lock when resizing the Chat Window and taller grab point.
Diffstat (limited to 'src')
-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;