mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 14:02:21 -04:00
fix find&replace searching in incorrect field
This commit is contained in:
parent
3d4cf26758
commit
958c53d886
1 changed files with 1 additions and 1 deletions
|
@ -112,7 +112,7 @@ class FindAndReplaceDialog(QDialog):
|
|||
if self.form.field.currentIndex() == 0:
|
||||
field = None
|
||||
else:
|
||||
field = self.field_names[self.form.field.currentIndex() - 2]
|
||||
field = self.field_names[self.form.field.currentIndex()]
|
||||
|
||||
find_and_replace(
|
||||
parent=self.parentWidget(),
|
||||
|
|
Loading…
Reference in a new issue