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
This commit is contained in:
Uwe Stöhr 2008-09-06 21:10:59 +00:00
parent 033a218640
commit 9a57449f40

View File

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