Merge "Fix editing inline comments"
This commit is contained in:
commit
1d417143c3
|
@ -133,8 +133,11 @@ class DiffView(urwid.WidgetWrap):
|
||||||
key += '-' + str(comment.line)
|
key += '-' + str(comment.line)
|
||||||
key += '-' + str(comment.file)
|
key += '-' + str(comment.file)
|
||||||
comment_list = comment_lists.get(key, [])
|
comment_list = comment_lists.get(key, [])
|
||||||
message = [('comment-name', comment.name),
|
if comment.pending:
|
||||||
('comment', u': '+comment.message)]
|
message = comment.message
|
||||||
|
else:
|
||||||
|
message = [('comment-name', comment.name),
|
||||||
|
('comment', u': '+comment.message)]
|
||||||
comment_list.append((comment.key, message))
|
comment_list.append((comment.key, message))
|
||||||
comment_lists[key] = comment_list
|
comment_lists[key] = comment_list
|
||||||
repo = self.app.getRepo(self.project_name)
|
repo = self.app.getRepo(self.project_name)
|
||||||
|
|
Loading…
Reference in New Issue