Copy&paste bug fix.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29091 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Abdelrazak Younes 2009-04-04 16:55:13 +00:00
parent a4169da139
commit 64c3229bd7

View File

@ -167,7 +167,7 @@ void GuiSpellchecker::updateSuggestions(docstring_list & words)
wordED->setText(toqstr(word_.word()));
suggestionsLW->clear();
if (words.empty() == 0) {
if (words.empty()) {
suggestionChanged(new QListWidgetItem(wordED->text()));
return;
}