Author: mir3x
Date: Sat Sep 26 18:52:51 2015
New Revision: 29971

URL: http://svn.gna.org/viewcvs/freeciv?rev=29971&view=rev
Log:
Fixed "Turn Done" button, not allowing for unit to accept orders, after being 
pressed
Reported by Marko Lindqvist <cazfi>
See bug #23838


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

Modified: branches/S2_6/client/gui-qt/mapview.cpp
URL: 
http://svn.gna.org/viewcvs/freeciv/branches/S2_6/client/gui-qt/mapview.cpp?rev=29971&r1=29970&r2=29971&view=diff
==============================================================================
--- branches/S2_6/client/gui-qt/mapview.cpp     (original)
+++ branches/S2_6/client/gui-qt/mapview.cpp     Sat Sep 26 18:52:51 2015
@@ -949,6 +949,7 @@
   end_turn = new QPushButton(_("Turn Done"));
   end_turn->setStyleSheet(
     QString(end_turn_button_stylesheet).arg(end_turn_font_size));
+  end_turn->setFocusPolicy(Qt::NoFocus);
   connect(end_turn, &QPushButton::clicked, &key_end_turn);
   layout->addWidget(end_turn, 0, Qt::AlignCenter);
 }


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

Reply via email to