]> git.lyx.org Git - features.git/commitdiff
Backport 217ef5bf3 (#81380
authorPavel Sanda <sanda@lyx.org>
Wed, 25 Apr 2012 16:17:53 +0000 (18:17 +0200)
committerPavel Sanda <sanda@lyx.org>
Thu, 26 Apr 2012 12:19:05 +0000 (14:19 +0200)
src/frontends/qt4/GuiThesaurus.cpp
status.20x

index 86ed9598abf8424194e474dde5e6487068ee9755..6bcff15871010962cbae4d15ee3fca4faee73ede 100644 (file)
@@ -28,6 +28,7 @@
 #include "support/lstrings.h"
 
 #include <QAbstractItemModel>
+#include <QCompleter>
 #include <QHeaderView>
 #include <QLineEdit>
 #include <QPushButton>
@@ -79,6 +80,10 @@ GuiThesaurus::GuiThesaurus(GuiView & lv)
        languageCO->setModel(language_model);
        languageCO->setModelColumn(2);
 
+       //bug #8138
+       if (entryCO->completer())
+               entryCO->completer()->setCompletionMode(QCompleter::PopupCompletion);
+
        bc().setCancel(closePB);
        bc().setApply(replacePB);
        bc().addReadOnly(replaceED);
index c6695751f8c0640eb71c882c4c3e50ea134dd5c3..770a7bc969ef62b48f54daabaf2957694ff22e46 100644 (file)
@@ -151,6 +151,8 @@ What's new
   The missing screen update could cause either a failure in executing the
   command or could even crash LyX (bugs 6871 and 8119).
 
+- Improve thesaurus dialog completion (bug 8138)
+
 
 * DOCUMENTATION AND LOCALIZATION