From 9a57449f40c2a7ea20e6be9d0559604902880554 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Uwe=20St=C3=B6hr?= Date: Sat, 6 Sep 2008 21:10:59 +0000 Subject: [PATCH] GuiWorkArea.cpp: allow to navigate in tables with the Tab key, patch by Vincent git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26320 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/frontends/qt4/GuiWorkArea.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/frontends/qt4/GuiWorkArea.cpp b/src/frontends/qt4/GuiWorkArea.cpp index e7d2b5652f..5c8e37b5c3 100644 --- a/src/frontends/qt4/GuiWorkArea.cpp +++ b/src/frontends/qt4/GuiWorkArea.cpp @@ -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;