[prev in list] [next in list] [prev in thread] [next in thread] 

List:       konq-bugs
Subject:    [Bug 54051] CTRL+ENTER when typing URL not opening tab in konqueror
From:       Stephan Binner <binner () kde ! org>
Date:       2003-07-01 13:18:03
[Download RAW message or body]

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
     
http://bugs.kde.org/show_bug.cgi?id=54051     
binner@kde.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED



------- Additional Comments From binner@kde.org  2003-07-01 15:18 -------
Subject: KDE_3_1_BRANCH: kdebase/konqueror

CVS commit by binner: 

Backport of 1.36
CCMAIL: 54051-close@bugs.kde.org


  M +7 -1      konq_combo.cc   1.32.2.2


--- kdebase/konqueror/konq_combo.cc  #1.32.2.1:1.32.2.2
@@ -298,4 +298,10 @@ bool KonqCombo::eventFilter( QObject *o,
             QKeyEvent *e = static_cast<QKeyEvent *>( ev );
 
+            if ( e->key() == Key_Return || e->key() == Key_Enter ) {
+                emit activated( currentText(), e->state() );
+                e->accept();
+                return true;
+            }
+
             if ( KStdAccel::isEqual( e, KStdAccel::deleteWordBack() ) ||
                  KStdAccel::isEqual( e, KStdAccel::deleteWordForward() ) ||
@@ -309,5 +315,5 @@ bool KonqCombo::eventFilter( QObject *o,
 
         else if ( type == QEvent::MouseButtonDblClick ) {
-            lineEdit()->selectAll();
+            edit->selectAll();
             return true;
         }
_______________________________________________
Konq-bugs mailing list
Konq-bugs@mail.kde.org
http://mail.kde.org/mailman/listinfo/konq-bugs
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic