mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Edit book: Fix modified indicator on images not working correctly when replacing the image
This commit is contained in:
parent
75bda0cd3a
commit
57a3641e54
@ -165,7 +165,7 @@ class Editor(QMainWindow):
|
||||
def replace_data(self, raw, only_if_different=True):
|
||||
# We ignore only_if_different as it is useless in our case, and
|
||||
# there is no easy way to check two images for equality
|
||||
self.data = raw
|
||||
self.canvas.load_image(raw)
|
||||
|
||||
def apply_settings(self, prefs=None, dictionaries_changed=False):
|
||||
pass
|
||||
|
Loading…
x
Reference in New Issue
Block a user