mirror of
https://github.com/ankitects/anki.git
synced 2025-09-21 15:32:23 -04:00
'QDialogButtonBox' object has no attribute 'finished'
This commit is contained in:
parent
3991603bf4
commit
80418c0fb7
1 changed files with 1 additions and 1 deletions
|
@ -74,7 +74,7 @@ def showText(txt, parent=None, type="text", run=True, geomKey=None, \
|
||||||
def onFinish():
|
def onFinish():
|
||||||
if geomKey:
|
if geomKey:
|
||||||
saveGeom(diag, geomKey)
|
saveGeom(diag, geomKey)
|
||||||
box.finished.connect(onFinish)
|
box.accepted.connect(onFinish)
|
||||||
diag.setMinimumHeight(minHeight)
|
diag.setMinimumHeight(minHeight)
|
||||||
diag.setMinimumWidth(minWidth)
|
diag.setMinimumWidth(minWidth)
|
||||||
if geomKey:
|
if geomKey:
|
||||||
|
|
Loading…
Reference in a new issue