Show current hyphenation dictionary in menu.

This commit is contained in:
Andrey Golovizin committed 2014-11-16 08:59:35 +01:00
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