From 80418c0fb7a90a67e02b637ea5f15c2f90d7fca9 Mon Sep 17 00:00:00 2001 From: wetriner Date: Tue, 2 May 2017 23:22:01 -1000 Subject: [PATCH] 'QDialogButtonBox' object has no attribute 'finished' --- aqt/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aqt/utils.py b/aqt/utils.py index 24127e710..e0a04feed 100644 --- a/aqt/utils.py +++ b/aqt/utils.py @@ -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: