mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
* GuiThesaurus: do not show irritating messages if nothing is to be looked up.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34227 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
272e7097f2
commit
85dae058eb
@ -156,6 +156,10 @@ void GuiThesaurus::selectionClicked(QTreeWidgetItem * item, int col)
|
|||||||
void GuiThesaurus::updateLists()
|
void GuiThesaurus::updateLists()
|
||||||
{
|
{
|
||||||
meaningsTV->clear();
|
meaningsTV->clear();
|
||||||
|
|
||||||
|
if (entryCO->currentText().isEmpty())
|
||||||
|
return;
|
||||||
|
|
||||||
meaningsTV->setUpdatesEnabled(false);
|
meaningsTV->setUpdatesEnabled(false);
|
||||||
|
|
||||||
QString const lang = languageCO->itemData(
|
QString const lang = languageCO->itemData(
|
||||||
|
Loading…
Reference in New Issue
Block a user