Quote:
Originally Posted by capink
IIRC TemplateDialog.reject(self) was problematic because it also closes the parent dialog (which is the chains dialog when the template dialog is a conditions dialog). That is why I implemented reject in the first place. I will call self.save_geometry() from both, unless I shouldn't for some reason.
|
Use TemplateDialog.accept() but not .reject() and don't call save_geometry(). If you don't want to do that then don't call save_geometry() in reject. TemplateDialog itself does not call it in reject().