mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
c85a932d4d
commit
d24835bff8
@ -211,6 +211,9 @@ class RegexEdit(QWidget, Ui_Edit):
|
||||
self.button.clicked.connect(self.builder)
|
||||
|
||||
def builder(self):
|
||||
if self.db is None:
|
||||
self.doc_cache = _('Click the Open button below to open a '
|
||||
'ebook to use for testing.')
|
||||
bld = RegexBuilder(self.db, self.book_id, self.edit.text(), self.doc_cache, self)
|
||||
if bld.cancelled:
|
||||
return
|
||||
|
Loading…
x
Reference in New Issue
Block a user