mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-04 21:03:37 +02:00
Fix #1897136 [Viewer: Default values for the numbers of pages per screen aren't restored](https://bugs.launchpad.net/calibre/+bug/1897136)
This commit is contained in:
parent
2967f13297
commit
bba090a7b3
1 changed files with 1 additions and 0 deletions
|
|
@ -108,6 +108,7 @@ def commit_layout(onchange, container):
|
|||
was_changed = True
|
||||
sd.set('read_mode', crm)
|
||||
cps = sd.get('columns_per_screen')
|
||||
cps = {'portrait': cps.portrait, 'landscape': cps.landscape}
|
||||
for which in ('portrait', 'landscape'):
|
||||
inp = element(COLS, 'input[name={}]'.format(which))
|
||||
try:
|
||||
|
|
|
|||
Loading…
Reference in a new issue