From 2da59470a9ff6d1dc41291bc5568ad75fe66ff70 Mon Sep 17 00:00:00 2001 From: Abdelrazak Younes Date: Thu, 19 Apr 2007 16:43:09 +0000 Subject: [PATCH] * QCommandBuffer::complete(): Add connection to QListWidget::itemActivated() in order to select in the help list with "Enter". git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17863 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/frontends/qt4/QCommandBuffer.C | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/frontends/qt4/QCommandBuffer.C b/src/frontends/qt4/QCommandBuffer.C index b68e3a7a42..f791d5fecd 100644 --- a/src/frontends/qt4/QCommandBuffer.C +++ b/src/frontends/qt4/QCommandBuffer.C @@ -171,6 +171,8 @@ void QCommandBuffer::complete() connect(list, SIGNAL(itemPressed(QListWidgetItem *)), this, SLOT(complete_selected(QListWidgetItem *))); + connect(list, SIGNAL(itemActivated(QListWidgetItem *)), + this, SLOT(complete_selected(QListWidgetItem *))); list->show(); list->setFocus();