VirtualEnv/VirtualenvExecDialog.py

changeset 6674
f7b68db81452
parent 6645
ad476851d7e0
child 6696
706185900558
equal deleted inserted replaced
6673:c3d3c8abcdec 6674:f7b68db81452
142 @param button button that was clicked (QAbstractButton) 142 @param button button that was clicked (QAbstractButton)
143 """ 143 """
144 if button == self.buttonBox.button(QDialogButtonBox.Close): 144 if button == self.buttonBox.button(QDialogButtonBox.Close):
145 self.accept() 145 self.accept()
146 elif button == self.buttonBox.button(QDialogButtonBox.Cancel): 146 elif button == self.buttonBox.button(QDialogButtonBox.Cancel):
147 self.__finish() 147 self.__finish(0, 0, giveUp=True)
148 148
149 def __finish(self, exitCode, exitStatus, giveUp=False): 149 def __finish(self, exitCode, exitStatus, giveUp=False):
150 """ 150 """
151 Private slot called when the process finished. 151 Private slot called when the process finished.
152 152

eric ide

mercurial