]> git.lyx.org Git - features.git/blobdiff - src/frontends/qt4/GuiWorkArea.cpp
* LFUNs complete and complete-cancel. No key interception anymore. For now you have...
[features.git] / src / frontends / qt4 / GuiWorkArea.cpp
index 20d0653f80d9dcb98a2039cfb2bfeb0fc30ffe98..230396a0fd3b35f76cca399448593d0e317e248f 100644 (file)
@@ -845,26 +845,6 @@ void GuiWorkArea::keyPressEvent(QKeyEvent * ev)
                        return;
                }
        }
-       
-       // intercept keys for the completion
-       if ((completer_->popupVisible() || completer_->inlineVisible())
-           && ev->key() == Qt::Key_Tab) {
-               completer_->tab();
-               ev->accept();
-               return;
-       } 
-
-       if (completer_->popupVisible() && ev->key() == Qt::Key_Escape) {
-               completer_->hidePopup();
-               ev->accept();
-               return;
-       }
-
-       if (completer_->inlineVisible() && ev->key() == Qt::Key_Escape) {
-               completer_->hideInline();
-               ev->accept();
-               return;
-       }
 
        // do nothing if there are other events
        // (the auto repeated events come too fast)