Author: mir3x Date: Tue Feb 9 16:00:41 2016 New Revision: 31834 URL: http://svn.gna.org/viewcvs/freeciv?rev=31834&view=rev Log: Fixed active menu shortcuts when typing in chat window, so typing in polish 'ć' - alt+c - was impossible - instead map was centered.
See bug #24380 Modified: branches/S2_5/client/gui-qt/chatline.cpp Modified: branches/S2_5/client/gui-qt/chatline.cpp URL: http://svn.gna.org/viewcvs/freeciv/branches/S2_5/client/gui-qt/chatline.cpp?rev=31834&r1=31833&r2=31834&view=diff ============================================================================== --- branches/S2_5/client/gui-qt/chatline.cpp (original) +++ branches/S2_5/client/gui-qt/chatline.cpp Tue Feb 9 16:00:41 2016 @@ -249,6 +249,9 @@ return true; } } + if (event->type() == QEvent::ShortcutOverride) { + event->setAccepted(true); + } } return QObject::eventFilter(obj, event); } _______________________________________________ Freeciv-commits mailing list Freeciv-commits@gna.org https://mail.gna.org/listinfo/freeciv-commits