correctly show nickname when we restore previous conversation lines with chat_merge_consecutive_nickname enabled. Fixes #7534

This commit is contained in:
Yann Leboulanger 2013-11-01 19:10:49 +01:00
parent 812e8c331d
commit c64f69a1a4
1 changed files with 1 additions and 0 deletions

View File

@ -3023,6 +3023,7 @@ class ChatControl(ChatControlBase):
'remove it (all history will be lost).') % common.logger.LOG_DB_PATH) 'remove it (all history will be lost).') % common.logger.LOG_DB_PATH)
rows = [] rows = []
local_old_kind = None local_old_kind = None
self.conv_textview.just_cleared = True
for row in rows: # row[0] time, row[1] has kind, row[2] the message for row in rows: # row[0] time, row[1] has kind, row[2] the message
if not row[2]: # message is empty, we don't print it if not row[2]: # message is empty, we don't print it
continue continue