mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix #1559319 [Edit Book: Images marked as edited when text is edited](https://bugs.launchpad.net/calibre/+bug/1559319)
This commit is contained in:
parent
2a1956d569
commit
ac8363713b
@ -159,6 +159,7 @@ class Editor(QMainWindow):
|
||||
return self.get_raw_data()
|
||||
def fset(self, val):
|
||||
self.canvas.load_image(val)
|
||||
self._is_modified = False # The image_changed signal will have been triggered causing this editor to be incorrectly marked as modified
|
||||
return property(fget=fget, fset=fset)
|
||||
|
||||
def replace_data(self, raw, only_if_different=True):
|
||||
|
Loading…
x
Reference in New Issue
Block a user