]> git.lyx.org Git - features.git/commitdiff
GuiWorkArea.cpp: allow to navigate in tables with the Tab key, patch by Vincent
authorUwe Stöhr <uwestoehr@web.de>
Sat, 6 Sep 2008 21:10:59 +0000 (21:10 +0000)
committerUwe Stöhr <uwestoehr@web.de>
Sat, 6 Sep 2008 21:10:59 +0000 (21:10 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26320 a592a061-630c-0410-9148-cb99ea01b6c8

src/frontends/qt4/GuiWorkArea.cpp

index e7d2b5652ffe76da62611639a9180b76661bb28a..5c8e37b5c3425db68408a7edd9fcb3df2a9125d3 100644 (file)
@@ -847,7 +847,7 @@ void GuiWorkArea::keyPressEvent(QKeyEvent * ev)
        }
        
        // intercept keys for the completion
-       if (ev->key() == Qt::Key_Tab) {
+       if (completer_->popupVisible() && ev->key() == Qt::Key_Tab) {
                completer_->tab();
                ev->accept();
                return;