summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorJan-Fabian Humann <malastare@gmx.net>2005-05-22 02:21:34 +0000
committerJan-Fabian Humann <malastare@gmx.net>2005-05-22 02:21:34 +0000
commit60ed44299513550c994e10a024eb100f222061a5 (patch)
tree43193d9024dec2a905d75b8f4bdb200fb181a473 /src/gui
parentfc6207f21a7beaeef968e032917181809f822a67 (diff)
downloadmana-60ed44299513550c994e10a024eb100f222061a5.tar.gz
mana-60ed44299513550c994e10a024eb100f222061a5.tar.bz2
mana-60ed44299513550c994e10a024eb100f222061a5.tar.xz
mana-60ed44299513550c994e10a024eb100f222061a5.zip
trade: disable textfield on ok
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/trade.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/trade.cpp b/src/gui/trade.cpp
index 494032cf..925c9950 100644
--- a/src/gui/trade.cpp
+++ b/src/gui/trade.cpp
@@ -189,6 +189,7 @@ void TradeWindow::reset()
ok_other = false;
ok_me = false;
moneyLabel->setCaption("You get: 0z");
+ moneyField->setEnabled(true);
moneyField->setText("");
}
@@ -326,7 +327,7 @@ void TradeWindow::action(const std::string &eventId)
} else {
moneyField->setText("");
}
-
+ moneyField->setEnabled(false);
WFIFOW(0) = net_w_value(0x00eb);
WFIFOSET(2);
while ((out_size > 0)) flush();