chiark
/
gitweb
/
~yarrgweb
/
ypp-sc-tools.web-live.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Do not have a default dictionary context when adding entries; it's error prone
[ypp-sc-tools.web-live.git]
/
pctb
/
dictionary-manager
diff --git
a/pctb/dictionary-manager
b/pctb/dictionary-manager
index 833e7270de29506b1a518c8b2e432191047d5bee..365aecb01fb1184fc865faa979ae58bba551ff81 100755
(executable)
--- a/
pctb/dictionary-manager
+++ b/
pctb/dictionary-manager
@@
-285,7
+285,7
@@
proc required/char {} {
label .selctx.title -text \
{Select match context for altering dictionary:}
pack .selctx.title -side left
label .selctx.title -text \
{Select match context for altering dictionary:}
pack .selctx.title -side left
- set new_context
[lindex $unk_contexts 0]
+ set new_context
{}
set ci 0; foreach ctx [lsort [array names all_contexts]] {
set all_contexts($ctx) $ci
set ci 0; foreach ctx [lsort [array names all_contexts]] {
set all_contexts($ctx) $ci