--- a/eric6/UI/SearchWidget.py Mon Sep 02 18:58:29 2019 +0200 +++ b/eric6/UI/SearchWidget.py Tue Sep 03 19:27:46 2019 +0200 @@ -27,8 +27,7 @@ searchNext = pyqtSignal(str, bool, bool, bool) searchPrevious = pyqtSignal(str, bool, bool, bool) - def __init__(self, mainWindow, parent=None, spacer=True, showLine=False, - hideRegExp=False): + def __init__(self, mainWindow, parent=None, spacer=True, showLine=False): """ Constructor @@ -41,8 +40,6 @@ @type bool @param showLine flag indicating to show all widget in one row @type bool - @param hideRegExp flag indicating to hide the Regexp checkbox - @type bool """ super(SearchWidget, self).__init__(parent) @@ -54,10 +51,6 @@ self.__ui = Ui_SearchWidget() self.__ui.setupUi(self) - if hideRegExp: - self.__ui.regexpCheckBox.setChecked(False) - self.__ui.regexpCheckBox.hide() - if not showLine: if spacer: spacerItem = QSpacerItem(