fix traceback when changing month/year in history window with no selected jid. Fixes #4240

这个提交存在于:
Yann Leboulanger 2008-08-26 10:55:18 +00:00
父节点 b284b586da
当前提交 fc8d21fd5e

查看文件

@ -313,6 +313,8 @@ class HistoryWindow:
'''asks for days in this month if they have logs it bolds them (marks
them)
'''
if not self.jid:
return
year, month, day = widget.get_date() # integers
# in gtk January is 1, in python January is 0,
# I want the second