mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-04-26 20:14:16 +02:00
...
This commit is contained in:
parent
78924aa790
commit
a53bcfac61
2 changed files with 5 additions and 0 deletions
|
|
@ -242,5 +242,8 @@ def text(self):
|
|||
def regex(self):
|
||||
return self.text
|
||||
|
||||
def clear(self):
|
||||
self.edit.clear()
|
||||
|
||||
def check(self):
|
||||
return True
|
||||
|
|
|
|||
|
|
@ -92,6 +92,8 @@ def sr_remove_clicked(self):
|
|||
if row >= 0:
|
||||
self.search_replace.removeRow(row)
|
||||
self.search_replace.setCurrentCell(row-1, 0)
|
||||
self.sr_search.clear()
|
||||
self.sr_replace.clear()
|
||||
|
||||
def sr_load_clicked(self):
|
||||
files = choose_files(self, 'sr_saved_patterns',
|
||||
|
|
|
|||
Loading…
Reference in a new issue