eric6/Project/DebuggerPropertiesDialog.py

changeset 8143
2c730d5fd177
parent 7923
91e843545d9a
child 8149
3fefc0c430f2
diff -r 27f636beebad -r 2c730d5fd177 eric6/Project/DebuggerPropertiesDialog.py
--- a/eric6/Project/DebuggerPropertiesDialog.py	Mon Mar 01 17:48:43 2021 +0100
+++ b/eric6/Project/DebuggerPropertiesDialog.py	Tue Mar 02 17:17:09 2021 +0100
@@ -46,9 +46,10 @@
         debugClientsHistory = Preferences.getProject(
             "DebugClientsHistory")
         self.debugClientPicker.setMode(E5PathPickerModes.OpenFileMode)
-        self.debugClientPicker.setInsertPolicy(QComboBox.InsertAtTop)
+        self.debugClientPicker.setInsertPolicy(
+            QComboBox.InsertPolicy.InsertAtTop)
         self.debugClientPicker.setSizeAdjustPolicy(
-            QComboBox.AdjustToMinimumContentsLength)
+            QComboBox.SizeAdjustPolicy.AdjustToContents)
         self.debugClientPicker.setPathsList(debugClientsHistory)
         self.debugClientClearHistoryButton.setIcon(
             UI.PixmapCache.getIcon("editDelete"))

eric ide

mercurial