eric6/VirtualEnv/VirtualenvManagerDialog.py

changeset 7659
60ee4dc1ce06
parent 7635
0cdead130a81
child 7759
51aa6c6b66f7
diff -r 3975d0659673 -r 60ee4dc1ce06 eric6/VirtualEnv/VirtualenvManagerDialog.py
--- a/eric6/VirtualEnv/VirtualenvManagerDialog.py	Sun Aug 02 17:19:20 2020 +0200
+++ b/eric6/VirtualEnv/VirtualenvManagerDialog.py	Sun Aug 02 17:31:27 2020 +0200
@@ -20,7 +20,6 @@
     Class implementing a dialog to manage the list of defined virtual
     environments.
     """
-    PythonVariantRole = Qt.UserRole
     IsGlobalRole = Qt.UserRole + 1
     IsCondaRole = Qt.UserRole + 2
     IsRemoteRole = Qt.UserRole + 3
@@ -124,7 +123,6 @@
         dlg = VirtualenvAddEditDialog(
             self.__manager, selectedItem.text(0),
             selectedItem.text(1), selectedItem.text(2),
-            selectedItem.data(0, VirtualenvManagerDialog.PythonVariantRole),
             selectedItem.data(0, VirtualenvManagerDialog.IsGlobalRole),
             selectedItem.data(0, VirtualenvManagerDialog.IsCondaRole),
             selectedItem.data(0, VirtualenvManagerDialog.IsRemoteRole),
@@ -234,8 +232,6 @@
                 environments[venvName]["path"],
                 environments[venvName]["interpreter"],
             ])
-            itm.setData(0, VirtualenvManagerDialog.PythonVariantRole,
-                        environments[venvName]["variant"])
             itm.setData(0, VirtualenvManagerDialog.IsGlobalRole,
                         environments[venvName]["is_global"])
             itm.setData(0, VirtualenvManagerDialog.IsCondaRole,

eric ide

mercurial