mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 14:02:21 -04:00
Merge pull request #580 from Arthur-Milchior/debug_diag
mw.debug_diag is the dialog and not the window
This commit is contained in:
commit
5236e20a7a
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue