def close_error_dlg ( self ) : if self . error_dlg . dismiss_box . isChecked ( ) : self . dismiss_error = True self . error_dlg . reject ( )
simple dialog box to reshow after incorrect value python
Close error dialog .
def close_error_dlg(self):
        """Close error dialog."""
        if self.error_dlg.dismiss_box.isChecked():
            self.dismiss_error = True
        self.error_dlg.reject()