diff options
Diffstat (limited to 'ui/qt')
-rw-r--r-- | ui/qt/main_window.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ui/qt/main_window.cpp b/ui/qt/main_window.cpp index 2678698a2c..cc7f0de3d7 100644 --- a/ui/qt/main_window.cpp +++ b/ui/qt/main_window.cpp @@ -965,7 +965,8 @@ bool MainWindow::eventFilter(QObject *obj, QEvent *event) { // proto tree, and main welcome widgets. if (event->type() == QEvent::KeyPress) { QKeyEvent *kevt = static_cast<QKeyEvent *>(event); - if (kevt->text().length() > 0 && kevt->text()[0].isPrint()) { + if (kevt->text().length() > 0 && kevt->text()[0].isPrint() && + !(kevt->modifiers() & Qt::ControlModifier)) { df_combo_box_->lineEdit()->insert(kevt->text()); df_combo_box_->lineEdit()->setFocus(); return true; |