fix find&replace searching in incorrect field

This commit is contained in:
Damien Elmes 2021-05-22 10:12:14 +10:00
parent 3d4cf26758
commit 958c53d886

View File

@ -112,7 +112,7 @@ class FindAndReplaceDialog(QDialog):
if self.form.field.currentIndex() == 0: if self.form.field.currentIndex() == 0:
field = None field = None
else: else:
field = self.field_names[self.form.field.currentIndex() - 2] field = self.field_names[self.form.field.currentIndex()]
find_and_replace( find_and_replace(
parent=self.parentWidget(), parent=self.parentWidget(),