mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +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 "support/lstrings.h"
|
||||||
|
|
||||||
#include <QAbstractItemModel>
|
#include <QAbstractItemModel>
|
||||||
|
#include <QCompleter>
|
||||||
#include <QHeaderView>
|
#include <QHeaderView>
|
||||||
#include <QLineEdit>
|
#include <QLineEdit>
|
||||||
#include <QPushButton>
|
#include <QPushButton>
|
||||||
@ -80,6 +81,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);
|
||||||
|
Loading…
Reference in New Issue
Block a user