Sat, 15 Sep 2018 20:07:42 +0200
E5TextEditSearchWidget: fixed an issue introduced in the last change.
E5Gui/E5TextEditSearchWidget.py | file | annotate | diff | comparison | revisions |
--- a/E5Gui/E5TextEditSearchWidget.py Sat Sep 15 19:59:20 2018 +0200 +++ b/E5Gui/E5TextEditSearchWidget.py Sat Sep 15 20:07:42 2018 +0200 @@ -157,8 +157,6 @@ else: self.verticalLayout.takeAt(self.__widthForHeightLayoutIndex) self.__addWidthForHeightLayout(widthForHeight) - - self.__widthForHeight = widthForHeight def __addWidthForHeightLayout(self, widthForHeight): """ @@ -173,6 +171,8 @@ else: self.verticalLayout.insertLayout(1, self.horizontalLayout2) self.__widthForHeightLayoutIndex = 1 + + self.__widthForHeight = widthForHeight def attachTextEdit(self, textedit, editType="QTextEdit"): """