Author: mir3x Date: Wed Jun 15 10:37:49 2016 New Revision: 32857 URL: http://svn.gna.org/viewcvs/freeciv?rev=32857&view=rev Log: Added Key Clear (5 on numeric keyboard) to choose previously selected unit. Reported by Sviatoslav Golda <swiatos>
See bug #24516 Modified: trunk/client/gui-qt/mapctrl.cpp Modified: trunk/client/gui-qt/mapctrl.cpp URL: http://svn.gna.org/viewcvs/freeciv/trunk/client/gui-qt/mapctrl.cpp?rev=32857&r1=32856&r2=32857&view=diff ============================================================================== --- trunk/client/gui-qt/mapctrl.cpp (original) +++ trunk/client/gui-qt/mapctrl.cpp Wed Jun 15 10:37:49 2016 @@ -159,6 +159,7 @@ key_unit_move(DIR8_SOUTHWEST); return; case Qt::Key_5: + case Qt::Key_Clear: key_recall_previous_focus_unit(); return; case Qt::Key_Escape: _______________________________________________ Freeciv-commits mailing list Freeciv-commits@gna.org https://mail.gna.org/listinfo/freeciv-commits