VirtualBox

Changeset 44663 in vbox for trunk


Ignore:
Timestamp:
Feb 12, 2013 5:16:09 PM (12 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
83754
Message:

FE/Qt: 6065: Improve usability for UIHostComboEditor keyboard handling.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/widgets/UIHostComboEditor.cpp

    r44661 r44663  
    489489        case Qt::Key_Escape:
    490490            return QLineEdit::keyPressEvent(pEvent);
     491        case Qt::Key_Up:
     492        case Qt::Key_Down:
     493        case Qt::Key_Left:
     494        case Qt::Key_Right:
     495            pEvent->ignore();
     496            return;
    491497        default:
    492498            break;
     
    503509        case Qt::Key_Escape:
    504510            return QLineEdit::keyReleaseEvent(pEvent);
     511        case Qt::Key_Up:
     512        case Qt::Key_Down:
     513        case Qt::Key_Left:
     514        case Qt::Key_Right:
     515            pEvent->ignore();
     516            return;
    505517        default:
    506518            break;
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette