mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-03 10:55:04 +02:00
Edit book: Fox pasting in the image editor broken
This commit is contained in:
parent
c8a2ac65e0
commit
3a542ad3d9
1 changed files with 2 additions and 1 deletions
|
|
@ -211,7 +211,8 @@ class Replace(Command):
|
|||
|
||||
def __init__(self, img, text, canvas):
|
||||
self.after_image = img
|
||||
Command.__init__(self, text, canvas)
|
||||
self.TEXT = text
|
||||
Command.__init__(self, canvas)
|
||||
|
||||
def __call__(self, canvas):
|
||||
if canvas.has_selection and canvas.selection_state.rect is not None:
|
||||
|
|
|
|||
Loading…
Reference in a new issue