[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE_3_1_BRANCH: kdelibs/kspell
From:       Lukáš Tinkl <lukas () kde ! org>
Date:       2003-03-25 8:13:38
[Download RAW message or body]

CVS commit by lukas: 

backport for ravi:
Fix longstanding bug 34049. If, for some reason, the current dictionary is
deleted, there is no reason not to let the user choose from the remaining
one, if there are any.


  M +10 -3     ksconfig.cpp   1.70.2.1


--- kdelibs/kspell/ksconfig.cpp  #1.70:1.70.2.1
@@ -387,4 +387,11 @@ KSpellConfig::fillInDialog ()
     }
   else
+    // Current dictionary vanished, present the user with a default if possible.
+    if (langfnames.count()>=1)
+    {
+      setDictFromList (TRUE);
+      dictcombo->setCurrentItem(0);
+    }
+    else
     setDictFromList (FALSE);
 


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic