Skip to content
Snippets Groups Projects
Commit fc8d21fd authored by Yann Leboulanger's avatar Yann Leboulanger
Browse files

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

parent b284b586
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment