'QDialogButtonBox' object has no attribute 'finished'

This commit is contained in:
wetriner 2017-05-02 23:22:01 -10:00
parent 3991603bf4
commit 80418c0fb7

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: