Details
-
Bug
-
Resolution: Done
-
P2: Important
-
4.4.3, 5.2.0 Beta1
-
None
-
3e549f5daa55464512ee2763558f3a7ffd45c545
Description
When having a QComboBox with items like OA, OB, OC [...] OO, OP, then using the keyboard to select the item OO does not work correctly.
If the items starts with twice the same character, then these items starting with that character are cycled through instead of moving directly to the correct item.
Typing OO in the following example will select OB.
#include <QtGui> int main(int argc, char **argv) { QApplication app(argc, argv); QComboBox combo; QStringList list; list << "AA" << "BB" << "OA" << "OB" << "OO" << "OP" << "OR" << "PP"; combo.addItems(list); combo.show(); return app.exec(); }