Merge pull request #186 from wetriner/master

'QDialogButtonBox' object has no attribute 'finished'
This commit is contained in:
Damien Elmes 2017-05-04 11:59:49 +10:00 committed by GitHub
commit 22ca4c24de

View File

@ -74,7 +74,7 @@ def showText(txt, parent=None, type="text", run=True, geomKey=None, \
def onFinish():
if geomKey:
saveGeom(diag, geomKey)
box.finished.connect(onFinish)
box.accepted.connect(onFinish)
diag.setMinimumHeight(minHeight)
diag.setMinimumWidth(minWidth)
if geomKey: