From c5122abb2155c2c58239fcbe6cd0cc87bce99092 Mon Sep 17 00:00:00 2001 From: Andrey Golovizin Date: Sat, 15 Nov 2014 13:04:30 +0100 Subject: [PATCH] Show current hyphenation dictionary in menu. --- frontend/apps/reader/modules/readerhyphenation.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/apps/reader/modules/readerhyphenation.lua b/frontend/apps/reader/modules/readerhyphenation.lua index 13313a60b..0a6aeeb7e 100644 --- a/frontend/apps/reader/modules/readerhyphenation.lua +++ b/frontend/apps/reader/modules/readerhyphenation.lua @@ -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