make log history checkbutton sensitive when we open history window with an account. Fixes #8705

This commit is contained in:
Yann Leboulanger 2017-08-20 14:57:18 +02:00
parent d11b40ca39
commit 163306f78a
1 changed files with 3 additions and 3 deletions

View File

@ -224,7 +224,7 @@ class HistoryWindow:
self.completion_dict[completed2] = (info_jid, info_acc, self.completion_dict[completed2] = (info_jid, info_acc,
info_name, info_completion2) info_name, info_completion2)
if key == actual_jid: if key == actual_jid:
self._load_history(info_jid, info_acc) self._load_history(info_jid, self.account or info_acc)
yield True yield True
keys.sort() keys.sort()
yield False yield False