Author: mir3x
Date: Wed Mar  9 17:37:37 2016
New Revision: 32214

URL: http://svn.gna.org/viewcvs/freeciv?rev=32214&view=rev
Log:
Fixed diplomacy meeting not allowing to demand more than 99 gold.
Submitted by Sviatoslav Golda <sviatos>

See bug #24425


Modified:
    branches/S2_5/client/gui-qt/diplodlg.cpp

Modified: branches/S2_5/client/gui-qt/diplodlg.cpp
URL: 
http://svn.gna.org/viewcvs/freeciv/branches/S2_5/client/gui-qt/diplodlg.cpp?rev=32214&r1=32213&r2=32214&view=diff
==============================================================================
--- branches/S2_5/client/gui-qt/diplodlg.cpp    (original)
+++ branches/S2_5/client/gui-qt/diplodlg.cpp    Wed Mar  9 17:37:37 2016
@@ -142,6 +142,7 @@
   gold_edit2->setMinimum(0);
   if (game.info.trading_gold) {
     gold_edit2->setMaximum(player_by_number(player1)->economic.gold);
+    gold_edit1->setMaximum(player_by_number(player2)->economic.gold);
   }
   connect(gold_edit1, SIGNAL(valueChanged(int)), SLOT(gold_changed1(int)));
   connect(gold_edit2, SIGNAL(valueChanged(int)), SLOT(gold_changed2(int)));


_______________________________________________
Freeciv-commits mailing list
Freeciv-commits@gna.org
https://mail.gna.org/listinfo/freeciv-commits

Reply via email to