Changeset 1862

Show
Ignore:
Timestamp:
01/25/06 15:33:11 (3 years ago)
Author:
ed
Message:

Fixed the spurious exception that was being raised in dForm.refresh().

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/dabo/ui/uiwx/dFormMixin.py

    r1858 r1862  
    470470            self.refreshControls() 
    471471            self.Refresh() 
    472         except: 
     472        except dabo.ui.deadObjectException: 
     473            # This can happen if a form is released when there is a  
     474            # pending callAfter() refresh. 
     475            pass 
     476        except StandardError, e: 
    473477            dabo.infoLog.write(_("Problem refreshing form %s") % self._name) 
    474          
     478            print e 
     479 
    475480         
    476481    def refreshControls(self, grid=None):