Author: mir3x
Date: Thu Sep 22 18:41:15 2016
New Revision: 33847

URL: http://svn.gna.org/viewcvs/freeciv?rev=33847&view=rev
Log:
Qt client - fixed blinking research icon after getting all techs.

Reported by Jacob Nevins <jtn>

See bug #25071

Modified:
    branches/S2_6/client/gui-qt/repodlgs.cpp

Modified: branches/S2_6/client/gui-qt/repodlgs.cpp
URL: 
http://svn.gna.org/viewcvs/freeciv/branches/S2_6/client/gui-qt/repodlgs.cpp?rev=33847&r1=33846&r2=33847&view=diff
==============================================================================
--- branches/S2_6/client/gui-qt/repodlgs.cpp    (original)
+++ branches/S2_6/client/gui-qt/repodlgs.cpp    Thu Sep 22 18:41:15 2016
@@ -675,7 +675,8 @@
     percent = 100 *research->bulbs_researched / 
research->client.researching_cost;
     str = str + "\n (" + QString::number(percent) + "%)";
   }
-  if (research->researching == A_UNSET && research->tech_goal == A_UNSET) {
+  if (research->researching == A_UNSET && research->tech_goal == A_UNSET
+    && research->techs_researched < game.control.num_tech_types) {
     blk = true;
   }
  } else {


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

Reply via email to