From kmail-devel Tue Nov 29 14:03:55 2005 From: David Faure Date: Tue, 29 Nov 2005 14:03:55 +0000 To: kmail-devel Subject: [Bug 117217] autocomplete in composer completes section title instead Message-Id: <20051129140355.24798.qmail () ktown ! kde ! org> X-MARC-Message: https://marc.info/?l=kmail-devel&m=113327304707028 ------- 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=117217 faure kde org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED ------- Additional Comments From faure kde org 2005-11-29 15:03 ------- SVN commit 484134 by dfaure: Handle like in completion list, to skip section headers BUG: 117217 M +2 -2 addresseelineedit.cpp --- branches/KDE/3.5/kdepim/libkdepim/addresseelineedit.cpp #484133:484134 @ -805,7 +805,7 @ if ( ( obj == this ) && ( e->type() == QEvent::AccelOverride ) ) { QKeyEvent *ke = static_cast( e ); - if ( ke->key() == Key_Up || ke->key() == Key_Down ) { + if ( ke->key() == Key_Up || ke->key() == Key_Down || ke->key() == Key_Tab ) { ke->accept(); return true; } @ -834,7 +834,7 @ } return true; } - } else if ( ke->key() == Key_Down ) { + } else if ( ke->key() == Key_Down || ke->key() == Key_Tab ) { // same strategy for downwards //kdDebug() << "EVENTFILTER: Key_Down. currentIndex=" << currentIndex << endl; QListBoxItem *itemBelow = completionBox()->item( currentIndex + 1 ); _______________________________________________ KMail developers mailing list KMail-devel@kde.org https://mail.kde.org/mailman/listinfo/kmail-devel