def done(self, r): if self.isVisible(): gprefs['convert_bulk_dialog_geom'] = \ bytearray(self.saveGeometry()) return ResizableDialog.done(self, r)