made the inputline ignore less keys (only number in combination with bind/jump modif...
authorMarcus Eggenberger <egs@quassel-irc.org>
Tue, 5 Feb 2008 20:55:55 +0000 (20:55 +0000)
committerMarcus Eggenberger <egs@quassel-irc.org>
Tue, 5 Feb 2008 20:55:55 +0000 (20:55 +0000)
src/uisupport/inputline.cpp
version.inc

index 1d23faa..05f9755 100644 (file)
@@ -42,7 +42,8 @@ InputLine::~InputLine() {
 }
 
 void InputLine::keyPressEvent(QKeyEvent * event) {
-  if(event->modifiers() == jumpModifier || event->modifiers() == bindModifier) {
+  if((event->modifiers() == jumpModifier || event->modifiers() == bindModifier) &&
+     (Qt::Key_0 <= event->key() && event->key() <= Qt::Key_9)) {
     event->ignore();
     return;
   }
index dcf18ee..8c5ac17 100644 (file)
@@ -5,7 +5,7 @@
 
   quasselVersion = "0.2.0-pre";
   quasselDate = "2008-02-05";
-  quasselBuild = 467;
+  quasselBuild = 468;
 
   //! Minimum client build number the core needs
   clientBuildNeeded = 464;