Show current hyphenation dictionary in menu.
This commit is contained in:
1 parent
40a9615d5f
commit
c5122abb21
1 file changed
+2
-2
@@ -11,9 +11,9 @@ local ReaderHyphenation = InputContainer:new{
|
||||
|
||||
function ReaderHyphenation:_changeSel(k)
|
||||
if self.cur_hyph_idx then
|
||||
self.hyph_table[self.cur_hyph_idx].selected = false
|
||||
self.hyph_table[self.cur_hyph_idx].checked = false
|
||||
end
|
||||
self.hyph_table[k].selected = true
|
||||
self.hyph_table[k].checked = true
|
||||
self.cur_hyph_idx = k
|
||||
end
|
||||
|
||||
|
||||
Reference in new issue
Block a user