--- a/QScintilla/SearchReplaceWidget.py Mon Feb 11 14:08:08 2013 +0100 +++ b/QScintilla/SearchReplaceWidget.py Mon Feb 11 18:13:10 2013 +0100 @@ -11,9 +11,6 @@ from PyQt4.QtGui import QWidget, QHBoxLayout, QToolButton, QScrollArea, QSizePolicy, \ QFrame -from .Ui_SearchWidget import Ui_SearchWidget -from .Ui_ReplaceWidget import Ui_ReplaceWidget - from .Editor import Editor from E5Gui.E5Action import E5Action @@ -52,6 +49,7 @@ self.findHistory = vm.getSRHistory('search') if replace: + from .Ui_ReplaceWidget import Ui_ReplaceWidget self.replaceHistory = vm.getSRHistory('replace') self.ui = Ui_ReplaceWidget() whatsThis = self.trUtf8(r""" @@ -63,6 +61,7 @@ """ ) else: + from .Ui_SearchWidget import Ui_SearchWidget self.ui = Ui_SearchWidget() whatsThis = self.trUtf8(r""" <b>Find</b>