Show current hyphenation dictionary in menu.

This commit is contained in:
Andrey Golovizin
2014-11-15 13:04:30 +01:00
parent 40a9615d5f
commit c5122abb21

View File

@@ -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