src/eric7/CodeFormatting/IsortFormattingDialog.py

branch
eric7
changeset 11006
a671918232f3
parent 10689
3ede487187f2
child 11090
f5f5f5803935
equal deleted inserted replaced
11005:b918c6c2736b 11006:a671918232f3
261 @type QAbstractButton 261 @type QAbstractButton
262 """ 262 """
263 if button == self.buttonBox.button(QDialogButtonBox.StandardButton.Cancel): 263 if button == self.buttonBox.button(QDialogButtonBox.StandardButton.Cancel):
264 self.__cancelled = True 264 self.__cancelled = True
265 elif button == self.buttonBox.button(QDialogButtonBox.StandardButton.Close): 265 elif button == self.buttonBox.button(QDialogButtonBox.StandardButton.Close):
266 if self.__diffDialog is not None:
267 self.__diffDialog.close()
268 self.__diffDialog = None
266 self.accept() 269 self.accept()
267 elif button is self.__sortImportsButton: 270 elif button is self.__sortImportsButton:
268 self.__sortImportsButtonClicked() 271 self.__sortImportsButtonClicked()
269 272
270 @pyqtSlot() 273 @pyqtSlot()

eric ide

mercurial