fix #1984
This commit is contained in:
parent
27b4a8dd51
commit
1fd6aef9c9
|
@ -79,7 +79,7 @@ def wizard_dialog(func):
|
||||||
try:
|
try:
|
||||||
out = func(*args, **kwargs)
|
out = func(*args, **kwargs)
|
||||||
except GoBack:
|
except GoBack:
|
||||||
wizard.go_back()
|
wizard.go_back() if wizard.can_go_back() else wizard.close()
|
||||||
return
|
return
|
||||||
except UserCancelled:
|
except UserCancelled:
|
||||||
return
|
return
|
||||||
|
|
Loading…
Reference in New Issue