Author: mir3x
Date: Sun Dec 20 20:07:35 2015
New Revision: 31122

URL: http://svn.gna.org/viewcvs/freeciv?rev=31122&view=rev
Log:
Made text visible in QMessageBox when bribing unit and there was not enough 
gold. 

See bug #24197


Modified:
    trunk/client/gui-qt/dialogs.cpp

Modified: trunk/client/gui-qt/dialogs.cpp
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/client/gui-qt/dialogs.cpp?rev=31122&r1=31121&r2=31122&view=diff
==============================================================================
--- trunk/client/gui-qt/dialogs.cpp     (original)
+++ trunk/client/gui-qt/dialogs.cpp     Sun Dec 20 20:07:35 2015
@@ -2065,6 +2065,7 @@
     fc_snprintf(buf2, ARRAY_SIZE(buf2),
                 PL_("Bribing the unit costs %d gold.\n%s",
                     "Bribing the unit costs %d gold.\n%s", cost), cost, buf);
+    ask.setText(buf2);
     ask.setWindowTitle(_("Traitors Demand Too Much!"));
     ask.exec();
   }


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

Reply via email to