Changed code to initialize the 'fetch missing interpreter' option as checked.

Thu, 27 Jun 2024 17:54:24 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Thu, 27 Jun 2024 17:54:24 +0200
changeset 13
e0359a1339fe
parent 12
a09f763d5e1f
child 14
12413552ae0d

Changed code to initialize the 'fetch missing interpreter' option as checked.

PipxInterface/PipxPackagesInputDialog.py file | annotate | diff | comparison | revisions
PipxInterface/PipxSpecInputDialog.py file | annotate | diff | comparison | revisions
--- a/PipxInterface/PipxPackagesInputDialog.py	Thu Jun 27 17:50:51 2024 +0200
+++ b/PipxInterface/PipxPackagesInputDialog.py	Thu Jun 27 17:54:24 2024 +0200
@@ -35,6 +35,8 @@
 
         self.setWindowTitle(title)
 
+        self.fetchMissingCheckBox.setChecked(True)
+
         self.buttonBox.button(QDialogButtonBox.StandardButton.Ok).setEnabled(False)
 
         msh = self.minimumSizeHint()
--- a/PipxInterface/PipxSpecInputDialog.py	Thu Jun 27 17:50:51 2024 +0200
+++ b/PipxInterface/PipxSpecInputDialog.py	Thu Jun 27 17:54:24 2024 +0200
@@ -35,9 +35,12 @@
         self.setupUi(self)
 
         self.setWindowTitle(title)
+
         self.specFilePicker.setMode(EricPathPickerModes.OPEN_FILE_MODE)
         self.specFilePicker.setFilters(self.tr("JSON Files (*.json);;All Files (*)"))
 
+        self.fetchMissingCheckBox.setChecked(True)
+
         self.buttonBox.button(QDialogButtonBox.StandardButton.Ok).setEnabled(False)
 
         msh = self.minimumSizeHint()

eric ide

mercurial