diff --git a/ankiqt/ui/cardlist.py b/ankiqt/ui/cardlist.py
index 24aa2c7cd..a92779ec5 100644
--- a/ankiqt/ui/cardlist.py
+++ b/ankiqt/ui/cardlist.py
@@ -826,9 +826,6 @@ where id in %s""" % ids2str(sf))
frm.setupUi(d)
self.connect(frm.buttonBox, SIGNAL("helpRequested()"),
self.onFindReplaceHelp)
- frm.type.insertItems(0, [
- _("Fields"),
- _("Tags")])
if not d.exec_():
return
n = _("Find and Replace")
@@ -843,7 +840,6 @@ where id in %s""" % ids2str(sf))
changed = self.deck.findReplace(self.selectedFacts(),
unicode(frm.find.text()),
unicode(frm.replace.text()),
- frm.type.currentIndex(),
frm.re.isChecked())
except sre_constants.error:
ui.utils.showInfo(_("Invalid regular expression."),
@@ -860,7 +856,6 @@ where id in %s""" % ids2str(sf))
'b': len(sf),
}, parent=self)
-
def onFindReplaceHelp(self):
QDesktopServices.openUrl(QUrl(ankiqt.appWiki +
"Editor#FindReplace"))
diff --git a/designer/findreplace.ui b/designer/findreplace.ui
index a8f6f7bf1..f060e7e5b 100644
--- a/designer/findreplace.ui
+++ b/designer/findreplace.ui
@@ -36,16 +36,6 @@
-
-
-
- -
-
-
- Search
-
-
-
- -
Treat input as regular expression
@@ -82,7 +72,6 @@
find
replace
- type
re
buttonBox