src/eric7/DataViews/PyProfileDialog.py

branch
server
changeset 10704
27d21e5163b8
parent 10610
bb0149571d94
parent 10689
3ede487187f2
child 11000
f8371a2dd08f
equal deleted inserted replaced
10680:306373ccf8fd 10704:27d21e5163b8
335 self.cancelled = False 335 self.cancelled = False
336 self.buttonBox.button(QDialogButtonBox.StandardButton.Close).setEnabled(False) 336 self.buttonBox.button(QDialogButtonBox.StandardButton.Close).setEnabled(False)
337 self.buttonBox.button(QDialogButtonBox.StandardButton.Cancel).setEnabled(True) 337 self.buttonBox.button(QDialogButtonBox.StandardButton.Cancel).setEnabled(True)
338 self.buttonBox.button(QDialogButtonBox.StandardButton.Cancel).setDefault(True) 338 self.buttonBox.button(QDialogButtonBox.StandardButton.Cancel).setDefault(True)
339 339
340 def closeEvent(self, evt): 340 def closeEvent(self, _evt):
341 """ 341 """
342 Protected method to handle the close event. 342 Protected method to handle the close event.
343 343
344 @param evt reference to the close event 344 @param _evt reference to the close event (unused)
345 @type QCloseEvent 345 @type QCloseEvent
346 """ 346 """
347 self.cancelled = True 347 self.cancelled = True
348 # The rest is done by the __populateLists() method. 348 # The rest is done by the __populateLists() method.
349 349

eric ide

mercurial