[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdelibs/kdeui
From: Ingo Klöcker <kloecker () kde ! org>
Date: 2003-11-02 16:01:54
[Download RAW message or body]
CVS commit by kloecker:
- make sure that langfnames always contains as many items as box (also in case of \
hspell) because that's assumed everywhere
- Add the empty string to langfnames in case of aspell just as in case of ispell. \
Later the first item of langfnames is removed which led to a crash when langfnames is \
empty (reported by Sven Lüppken).
CCMAIL: sven@kde.org
M +4 -2 ksconfig.cpp 1.82
--- kdelibs/kdeui/ksconfig.cpp #1.81:1.82
@@ -383,4 +383,5 @@ KSpellConfig::fillInDialog ()
langfnames.clear();
dictcombo->clear();
+ langfnames.append(""); // Default
dictcombo->insertItem( i18n("Hebrew") );
}
@@ -611,9 +612,10 @@ KSpellConfig::fillDicts( QComboBox* box,
box->clear();
box->insertItem( i18n("Hebrew") );
+ langfnames.append(""); // Default
sChangeEncoding( KS_E_CP1255 );
}
else {
box->clear();
-
+ langfnames.append(""); // Default
box->insertItem (i18n("ASpell Default"));
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic