* 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:
Jürgen Spitzmüller 2010-04-20 09:59:16 +00:00
parent 272e7097f2
commit 85dae058eb

View File

@ -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(