Changeset 154

Show
Ignore:
Timestamp:
06/08/06 18:52:01 (18 years ago)
Author:
jerome
Message:

Don't cache values if the user closed the dialog box without validating.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • pykoticon/trunk/bin/pykoticon

    r152 r154  
    138138        cachekey = tuple(values.items())   
    139139        retcode = self.getAnswerFromCache(cachekey) 
    140         if retcode is None : 
     140        if (retcode is None) or (not retcode["isValid"]) : 
    141141            wx.CallAfter(self.frame.askDatas, [ self.frame.UTF8ToUserCharset(label.data) for label in labels ], \ 
    142142                                              varnames, \