Add __repr__ to CrashDialog
This commit is contained in:
parent
0e6a2a8611
commit
15ca1b7f59
@ -77,6 +77,9 @@ class _CrashDialog(QDialog):
|
||||
self._vbox.addWidget(self._url)
|
||||
self._init_buttons()
|
||||
|
||||
def __repr__(self):
|
||||
return '<{}>'.format(self.__class__.__name__)
|
||||
|
||||
def _init_text(self):
|
||||
"""Initialize the main text to be displayed on an exception.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user