Revision
14286
Author
jmesquita
Date
2009-07-17 17:24:06 -0500 (Fri, 17 Jul 2009)

Log Message

Make ARROW_UP and ARROW_DOWN activate command history.

Modified Paths

Diff

Modified: freeswitch/trunk/contrib/jmesquita/fsgui/src/consolepage.cpp (14285 => 14286)


--- freeswitch/trunk/contrib/jmesquita/fsgui/src/consolepage.cpp	2009-07-17 22:17:58 UTC (rev 14285)
+++ freeswitch/trunk/contrib/jmesquita/fsgui/src/consolepage.cpp	2009-07-17 22:24:06 UTC (rev 14286)
@@ -237,7 +237,7 @@
     {
         // TODO: Might be good to check settings
         QKeyEvent *keyEvent = static_cast<QKeyEvent *>(e);
-        if (keyEvent->key() == Qt::Key_Up)
+        if (keyEvent->key() == Qt::Key_Up || keyEvent->key() == Qt::Key_Down)
         {
             QLineEdit * lineCmd = static_cast<QLineEdit *>(obj);
             lineCmd->setCompleter(histCompleter);