diff options
author | N.N. <matju@users.sourceforge.net> | 2009-04-27 06:09:01 +0000 |
---|---|---|
committer | N.N. <matju@users.sourceforge.net> | 2009-04-27 06:09:01 +0000 |
commit | 1d3e4b2335d85d72158365cd57cd22f304b2a70a (patch) | |
tree | 5b1ae8a0acf38cee410f547c7723a524610790b7 /desiredata | |
parent | dcd74b5b01e4f2b124d4eb940891d41c5cc4c387 (diff) |
class browser entries are sorted like they used to be
svn path=/trunk/; revision=11169
Diffstat (limited to 'desiredata')
-rw-r--r-- | desiredata/src/desire.tk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/desiredata/src/desire.tk b/desiredata/src/desire.tk index 967abdd5..ffadd2bf 100644 --- a/desiredata/src/desire.tk +++ b/desiredata/src/desire.tk @@ -7058,7 +7058,7 @@ def ClassBrowser init {name x y textbox} { def ClassBrowser fill_box {s} { global class_list $@listbox delete 0 end - foreach class $class_list { + foreach class [lsort $class_list] { if {[string length $s]==0 || [string first $s $class]>=0} { set t "\[$class\]" if {[can_say $class]} {append t " [say $class]"} |