Fix #1876397 [Apply button doesn't activate when removing lines from Search & Replace](https://bugs.launchpad.net/calibre/+bug/1876397)

This commit is contained in:
Kovid Goyal 2020-05-02 08:53:01 +05:30
parent 1a60950510
commit 3318387ddb
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -103,6 +103,7 @@ class SearchAndReplaceWidget(Widget, Ui_Form):
self.search_replace.setCurrentCell(row if row < self.search_replace.rowCount() else row-1, 0)
self.sr_search.clear()
self.sr_replace.clear()
self.changed_signal.emit()
def sr_load_clicked(self):
files = choose_files(self, 'sr_saved_patterns',