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
|
changed = False
|
||||||
old_text = self.labels.get(name)
|
old_text = self.labels.get(name)
|
||||||
if text:
|
if text:
|
||||||
|
text = text.replace("\n", " ")
|
||||||
if old_text != text:
|
if old_text != text:
|
||||||
self.labels[name] = text
|
self.labels[name] = text
|
||||||
changed = True
|
changed = True
|
||||||
|
|
Loading…
Reference in New Issue