Merge branch 'master' of github.com:dae/anki

This commit is contained in:
Damien Elmes 2017-04-28 13:31:55 +10:00
commit 3991603bf4

View File

@ -71,6 +71,10 @@ def showText(txt, parent=None, type="text", run=True, geomKey=None, \
saveGeom(diag, geomKey)
QDialog.reject(diag)
box.rejected.connect(onReject)
def onFinish():
if geomKey:
saveGeom(diag, geomKey)
box.finished.connect(onFinish)
diag.setMinimumHeight(minHeight)
diag.setMinimumWidth(minWidth)
if geomKey: