mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Edit book: Fox pasting in the image editor broken
This commit is contained in:
parent
c8a2ac65e0
commit
3a542ad3d9
@ -211,7 +211,8 @@ class Replace(Command):
|
|||||||
|
|
||||||
def __init__(self, img, text, canvas):
|
def __init__(self, img, text, canvas):
|
||||||
self.after_image = img
|
self.after_image = img
|
||||||
Command.__init__(self, text, canvas)
|
self.TEXT = text
|
||||||
|
Command.__init__(self, canvas)
|
||||||
|
|
||||||
def __call__(self, canvas):
|
def __call__(self, canvas):
|
||||||
if canvas.has_selection and canvas.selection_state.rect is not None:
|
if canvas.has_selection and canvas.selection_state.rect is not None:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user