mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 16:56:36 -04:00
Merge branch 'master' of github.com:dae/anki
This commit is contained in:
commit
3991603bf4
1 changed files with 4 additions and 0 deletions
|
@ -71,6 +71,10 @@ def showText(txt, parent=None, type="text", run=True, geomKey=None, \
|
||||||
saveGeom(diag, geomKey)
|
saveGeom(diag, geomKey)
|
||||||
QDialog.reject(diag)
|
QDialog.reject(diag)
|
||||||
box.rejected.connect(onReject)
|
box.rejected.connect(onReject)
|
||||||
|
def onFinish():
|
||||||
|
if geomKey:
|
||||||
|
saveGeom(diag, geomKey)
|
||||||
|
box.finished.connect(onFinish)
|
||||||
diag.setMinimumHeight(minHeight)
|
diag.setMinimumHeight(minHeight)
|
||||||
diag.setMinimumWidth(minWidth)
|
diag.setMinimumWidth(minWidth)
|
||||||
if geomKey:
|
if geomKey:
|
||||||
|
|
Loading…
Reference in a new issue