Add StyleOption class for reports and use it in WebCal.

svn: r10651
This commit is contained in:
Brian Matherly committed 2008-04-29 04:47:50 +00:00
1 parent 39c8d63029
commit 5181e073e9
5 files changed
+114 -24

No files matched your search

+2 -1
View File
@@ -130,7 +130,8 @@ class StyleListDisplay:
def on_ok_clicked(self, obj):
"""Called with the OK button is clicked; Calls the callback task,
then saves the stylesheet."""
self.callback()
if self.callback is not None:
self.callback()
try:
self.sheetlist.save()
except IOError, msg: