eric7/E5Gui/E5TextInputDialog.py

branch
eric7
changeset 8350
74a3b2a6a944
parent 8318
962bce857696
--- a/eric7/E5Gui/E5TextInputDialog.py	Fri May 21 18:01:11 2021 +0200
+++ b/eric7/E5Gui/E5TextInputDialog.py	Fri May 21 20:14:48 2021 +0200
@@ -11,8 +11,6 @@
     QDialog, QDialogButtonBox, QVBoxLayout, QLabel, QLineEdit
 )
 
-from E5Gui.E5LineEdit import E5ClearableLineEdit
-
 
 class E5TextInputDialog(QDialog):
     """
@@ -34,7 +32,8 @@
         self.__label = QLabel(self)
         self.__layout.addWidget(self.__label)
         
-        self.__lineEdit = E5ClearableLineEdit(self)
+        self.__lineEdit = QLineEdit(self)
+        self.__lineEdit.setClearButtonEnabled(True)
         self.__layout.addWidget(self.__lineEdit)
         
         self.__buttonBox = QDialogButtonBox(

eric ide

mercurial