91 if dlg.exec_() == QDialog.Accepted: |
91 if dlg.exec_() == QDialog.Accepted: |
92 venvName, venvDirectory, venvInterpreter, venvVariant, \ |
92 venvName, venvDirectory, venvInterpreter, venvVariant, \ |
93 isGlobal = dlg.getData() |
93 isGlobal = dlg.getData() |
94 |
94 |
95 self.__manager.addVirtualEnv(venvName, venvDirectory, |
95 self.__manager.addVirtualEnv(venvName, venvDirectory, |
96 venvInterpreter, venvVariant) |
96 venvInterpreter, venvVariant, |
|
97 isGlobal) |
97 |
98 |
98 @pyqtSlot() |
99 @pyqtSlot() |
99 def on_newButton_clicked(self): |
100 def on_newButton_clicked(self): |
100 """ |
101 """ |
101 Private slot to create a new virtual environment. |
102 Private slot to create a new virtual environment. |