Fix editing inline comments
An earlier change broke editing comments. Change-Id: I7c10d29088bf15145c864843529c243c7c0c1169
This commit is contained in:
parent
437bf21383
commit
f15feec7bf
|
@ -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))
|
||||
|
|
Loading…
Reference in New Issue