mirror of
git://github.com/kovidgoyal/calibre.git
synced 2025-12-24 13:15:16 +01:00
Fix viewport not being updated for right panel after resize
This commit is contained in:
parent
f499c4904c
commit
12b93c5bf0
1 changed files with 1 additions and 0 deletions
|
|
@ -637,6 +637,7 @@ def mapnum(x):
|
|||
v.changes = [(mapnum(t), mapnum(b), kind) for t, b, kind in v.changes]
|
||||
v.headers = [(mapnum(x), name) for x, name in v.headers]
|
||||
v.images = OrderedDict((mapnum(x), v) for x, v in v.images.iteritems())
|
||||
v.viewport().update()
|
||||
|
||||
def get_lines_for_image(self, img, view):
|
||||
if img.isNull():
|
||||
|
|
|
|||
Loading…
Reference in a new issue