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

don't look for history in database when none is typed in history window. Fixes #4192

parent db0be5c0
No related branches found
No related tags found
No related merge requests found
......@@ -307,6 +307,8 @@ class HistoryWindow:
self.window.set_title(title)
def on_calendar_day_selected(self, widget):
if not self.jid:
return
year, month, day = widget.get_date() # integers
month = gtkgui_helpers.make_gtk_month_python_month(month)
self._add_lines_for_date(year, month, day)
......@@ -581,4 +583,4 @@ class HistoryWindow:
self._load_history(jid, account)
self.results_window.set_property('visible', False)
# vim: se ts=3:
\ No newline at end of file
# vim: se ts=3:
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