From 60ed44299513550c994e10a024eb100f222061a5 Mon Sep 17 00:00:00 2001 From: Jan-Fabian Humann Date: Sun, 22 May 2005 02:21:34 +0000 Subject: trade: disable textfield on ok --- src/gui/trade.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') 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(); -- cgit v1.2.3-70-g09d2