def reject(self): if question_dialog(self, _('Are you sure?'), _('You will lose any unsaved changes. To save your' ' changes, click the Add/Update recipe button.' ' Continue?'), show_copy_button=False): ResizableDialog.reject(self)
def reject(self): if question_dialog( self, _("Are you sure?"), _( "You will lose any unsaved changes. To save your" " changes, click the Add/Update recipe button." " Continue?" ), show_copy_button=False, ): ResizableDialog.reject(self)
def reject(self): self.save_state() ResizableDialog.reject(self)
def reject(self): self.break_cycles() ResizableDialog.reject(self)
def reject(self): dynamic.set("catalog_window_geom", bytearray(self.saveGeometry())) ResizableDialog.reject(self)
def reject(self): dynamic.set('catalog_window_geom', bytearray(self.saveGeometry())) ResizableDialog.reject(self)