Merge pull request #580 from Arthur-Milchior/debug_diag

mw.debug_diag is the dialog and not the window
This commit is contained in:
Damien Elmes 2020-05-04 14:07:15 +10:00 committed by GitHub
commit 5236e20a7a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1371,7 +1371,7 @@ will be lost. Continue?"""
def onDebug(self):
d = self.debugDiag = QDialog()
d.silentlyClose = True
frm = aqt.forms.debug.Ui_Dialog()
frm = self.debug_diag_form = aqt.forms.debug.Ui_Dialog()
frm.setupUi(d)
font = QFontDatabase.systemFont(QFontDatabase.FixedFont)
font.setPointSize(frm.text.font().pointSize() + 1)