[Spambayes-checkins] spambayes/Outlook2000/dialogs
opt_processors.py, 1.3, 1.4
Adam Walker
xenogeist at users.sourceforge.net
Sun Aug 17 15:12:14 EDT 2003
Update of /cvsroot/spambayes/spambayes/Outlook2000/dialogs
In directory sc8-pr-cvs1:/tmp/cvs-serv16022/Outlook2000/dialogs
Modified Files:
opt_processors.py
Log Message:
Fixed (unreported) bug where combo box options would not save.
Index: opt_processors.py
===================================================================
RCS file: /cvsroot/spambayes/spambayes/Outlook2000/dialogs/opt_processors.py,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** opt_processors.py 11 Aug 2003 12:19:08 -0000 1.3
--- opt_processors.py 17 Aug 2003 21:12:11 -0000 1.4
***************
*** 73,76 ****
--- 73,80 ----
# A "Combo" processor, that loads valid strings from the option.
class ComboProcessor(OptionControlProcessor):
+ def OnCommand(self, wparam, lparam):
+ code = win32api.HIWORD(wparam)
+ if code == win32con.CBN_SELCHANGE:
+ self.UpdateValue_FromControl()
def UpdateControl_FromValue(self):
# First load the combo options.
More information about the Spambayes-checkins
mailing list