mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-06-23 15:30:45 -04:00
Fix viewport not being updated for right panel after resize
This commit is contained in:
parent
f499c4904c
commit
12b93c5bf0
@ -637,6 +637,7 @@ class DiffSplit(QSplitter): # {{{
|
|||||||
v.changes = [(mapnum(t), mapnum(b), kind) for t, b, kind in v.changes]
|
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.headers = [(mapnum(x), name) for x, name in v.headers]
|
||||||
v.images = OrderedDict((mapnum(x), v) for x, v in v.images.iteritems())
|
v.images = OrderedDict((mapnum(x), v) for x, v in v.images.iteritems())
|
||||||
|
v.viewport().update()
|
||||||
|
|
||||||
def get_lines_for_image(self, img, view):
|
def get_lines_for_image(self, img, view):
|
||||||
if img.isNull():
|
if img.isNull():
|
||||||
|
Loading…
x
Reference in New Issue
Block a user