src/eric7/CodeFormatting/BlackFormattingDialog.py

branch
eric7
changeset 11006
a671918232f3
parent 10689
3ede487187f2
child 11090
f5f5f5803935
equal deleted inserted replaced
11005:b918c6c2736b 11006:a671918232f3
242 @type QAbstractButton 242 @type QAbstractButton
243 """ 243 """
244 if button == self.buttonBox.button(QDialogButtonBox.StandardButton.Cancel): 244 if button == self.buttonBox.button(QDialogButtonBox.StandardButton.Cancel):
245 self.__cancelled = True 245 self.__cancelled = True
246 elif button == self.buttonBox.button(QDialogButtonBox.StandardButton.Close): 246 elif button == self.buttonBox.button(QDialogButtonBox.StandardButton.Close):
247 if self.__diffDialog is not None:
248 self.__diffDialog.close()
249 self.__diffDialog = None
247 self.accept() 250 self.accept()
248 elif button is self.__formatButton: 251 elif button is self.__formatButton:
249 self.__formatButtonClicked() 252 self.__formatButtonClicked()
250 253
251 @pyqtSlot() 254 @pyqtSlot()

eric ide

mercurial