mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04: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
@ -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…
x
Reference in New Issue
Block a user