Merge pull request #2178 from bauerj/issue-2176
Remove newlines from transaction labels
This commit is contained in:
commit
139859ded3
|
@ -235,6 +235,7 @@ class Abstract_Wallet(PrintError):
|
|||
changed = False
|
||||
old_text = self.labels.get(name)
|
||||
if text:
|
||||
text = text.replace("\n", " ")
|
||||
if old_text != text:
|
||||
self.labels[name] = text
|
||||
changed = True
|
||||
|
|
Loading…
Reference in New Issue