Author: mir3x
Date: Tue Feb  9 16:04:00 2016
New Revision: 31835

URL: http://svn.gna.org/viewcvs/freeciv?rev=31835&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_6/client/gui-qt/chatline.cpp

Modified: branches/S2_6/client/gui-qt/chatline.cpp
URL: 
http://svn.gna.org/viewcvs/freeciv/branches/S2_6/client/gui-qt/chatline.cpp?rev=31835&r1=31834&r2=31835&view=diff
==============================================================================
--- branches/S2_6/client/gui-qt/chatline.cpp    (original)
+++ branches/S2_6/client/gui-qt/chatline.cpp    Tue Feb  9 16:04:00 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

Reply via email to