Merge "Fix editing inline comments"

This commit is contained in:
Jenkins 2014-04-30 21:42:05 +00:00 committed by Gerrit Code Review
commit 1d417143c3
1 changed files with 5 additions and 2 deletions

View File

@ -133,6 +133,9 @@ class DiffView(urwid.WidgetWrap):
key += '-' + str(comment.line)
key += '-' + str(comment.file)
comment_list = comment_lists.get(key, [])
if comment.pending:
message = comment.message
else:
message = [('comment-name', comment.name),
('comment', u': '+comment.message)]
comment_list.append((comment.key, message))