Fixing inline completion, Vincent strikes back :)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26327 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Pavel Sanda 2008-09-07 15:54:06 +00:00
parent 36967c8887
commit 809ed31d54

View File

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