diff --git a/src/qtgui/spell.ui b/src/qtgui/spell.ui
index 8c2bdeb4..fad07b6d 100644
--- a/src/qtgui/spell.ui
+++ b/src/qtgui/spell.ui
@@ -8,8 +8,8 @@
0
0
- 796
- 351
+ -1
+ -1
@@ -22,8 +22,8 @@
- 130
- 30
+ 0
+ 0
diff --git a/src/qtgui/spell_w.cpp b/src/qtgui/spell_w.cpp
index 2749e2a2..9c0a3a44 100644
--- a/src/qtgui/spell_w.cpp
+++ b/src/qtgui/spell_w.cpp
@@ -1,5 +1,5 @@
#ifndef lint
-static char rcsid[] = "@(#$Id: spell_w.cpp,v 1.3 2006-10-30 12:59:44 dockes Exp $ (C) 2005 J.F.Dockes";
+static char rcsid[] = "@(#$Id: spell_w.cpp,v 1.4 2006-11-04 17:09:08 dockes Exp $ (C) 2005 J.F.Dockes";
#endif
/*
* This program is free software; you can redistribute it and/or modify
@@ -68,6 +68,7 @@ void SpellW::init()
/* Expand term according to current mode */
void SpellW::doExpand()
{
+ suggsTE->clear();
if (baseWordLE->text().isEmpty())
return;
@@ -93,6 +94,7 @@ void SpellW::doExpand()
break;
#ifdef RCL_USE_ASPELL
case 2: {
+ LOGDEB(("SpellW::doExpand: aspelling\n"));
if (!aspell) {
LOGDEB(("SpellW::doExpand: aspell init error\n"));
return;
@@ -101,12 +103,10 @@ void SpellW::doExpand()
LOGERR(("SpellW::doExpand:suggest failed: %s\n", reason.c_str()));
return;
}
- return;
}
#endif
}
- suggsTE->clear();
if (suggs.empty()) {
suggsTE->append(tr("No spelling expansion found"));
} else {