69 |
69 |
70 self.__pip = pip |
70 self.__pip = pip |
71 self.__client = E5XmlRpcClient(indexUrl, self) |
71 self.__client = E5XmlRpcClient(indexUrl, self) |
72 |
72 |
73 self.venvComboBox.addItem(self.__pip.getDefaultEnvironmentString()) |
73 self.venvComboBox.addItem(self.__pip.getDefaultEnvironmentString()) |
|
74 projectVenv = self.__pip.getProjectEnvironmentString() |
|
75 if projectVenv: |
|
76 self.venvComboBox.addItem(projectVenv) |
74 self.venvComboBox.addItems(self.__pip.getVirtualenvNames()) |
77 self.venvComboBox.addItems(self.__pip.getVirtualenvNames()) |
75 |
78 |
76 self.searchEdit.setFocus(Qt.OtherFocusReason) |
79 self.searchEdit.setFocus(Qt.OtherFocusReason) |
77 |
80 |
78 self.__canceled = False |
81 self.__canceled = False |