mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-11 11:08:41 +00:00
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:
parent
36967c8887
commit
809ed31d54
@ -847,7 +847,8 @@ void GuiWorkArea::keyPressEvent(QKeyEvent * ev)
|
|||||||
}
|
}
|
||||||
|
|
||||||
// intercept keys for the completion
|
// 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();
|
completer_->tab();
|
||||||
ev->accept();
|
ev->accept();
|
||||||
return;
|
return;
|
||||||
|
Loading…
Reference in New Issue
Block a user