mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-25 05:55:34 +00:00
Thesaurus keyword combo completion (bug #8138).
This commit is contained in:
parent
189bb91e58
commit
217ef5bf39
@ -29,6 +29,7 @@
|
||||
#include "support/lstrings.h"
|
||||
|
||||
#include <QAbstractItemModel>
|
||||
#include <QCompleter>
|
||||
#include <QHeaderView>
|
||||
#include <QLineEdit>
|
||||
#include <QPushButton>
|
||||
@ -80,6 +81,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);
|
||||
|
Loading…
Reference in New Issue
Block a user