This commit is contained in:
Pavel Sanda 2012-04-25 18:17:53 +02:00
parent 38491ed21a
commit 7cea9372d5
2 changed files with 7 additions and 0 deletions

View File

@ -28,6 +28,7 @@
#include "support/lstrings.h" #include "support/lstrings.h"
#include <QAbstractItemModel> #include <QAbstractItemModel>
#include <QCompleter>
#include <QHeaderView> #include <QHeaderView>
#include <QLineEdit> #include <QLineEdit>
#include <QPushButton> #include <QPushButton>
@ -79,6 +80,10 @@ GuiThesaurus::GuiThesaurus(GuiView & lv)
languageCO->setModel(language_model); languageCO->setModel(language_model);
languageCO->setModelColumn(2); languageCO->setModelColumn(2);
//bug #8138
if (entryCO->completer())
entryCO->completer()->setCompletionMode(QCompleter::PopupCompletion);
bc().setCancel(closePB); bc().setCancel(closePB);
bc().setApply(replacePB); bc().setApply(replacePB);
bc().addReadOnly(replaceED); bc().addReadOnly(replaceED);

View File

@ -151,6 +151,8 @@ What's new
The missing screen update could cause either a failure in executing the The missing screen update could cause either a failure in executing the
command or could even crash LyX (bugs 6871 and 8119). command or could even crash LyX (bugs 6871 and 8119).
- Improve thesaurus dialog completion (bug 8138)
* DOCUMENTATION AND LOCALIZATION * DOCUMENTATION AND LOCALIZATION