Please or Register to create posts and topics.

"Create and close" calls editShot_closed() twice

When I create a new shot using "Create and close" my editShot_closed() function in my plugin gets called twice.
This only happens when pressing "Create and close", not "Create" or "Next".

If I change QDialogButtonBox.AcceptRole to QDialogButtonBox.ApplyRole on the button creation (like the create button has) I no longer gets this behavour.

This is fixed now in v.