summaryrefslogtreecommitdiffstats
path: root/kmymoney2/widgets/stdtransactionmatched.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmymoney2/widgets/stdtransactionmatched.cpp')
-rw-r--r--kmymoney2/widgets/stdtransactionmatched.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/kmymoney2/widgets/stdtransactionmatched.cpp b/kmymoney2/widgets/stdtransactionmatched.cpp
index 833c88e..9900c3c 100644
--- a/kmymoney2/widgets/stdtransactionmatched.cpp
+++ b/kmymoney2/widgets/stdtransactionmatched.cpp
@@ -179,6 +179,8 @@ void StdTransactionMatched::registerCellText(TQString& txt, int& align, int row,
memo = memo.left(pos);
if(memo.endsWith("\n"))
memo = memo.left(pos-1);
+ // replace all new line characters because we only have one line available for the displayed data
+ memo.replace('\n', " ");
}
}
txt = TQString("%1 %2").arg(postDate.toString(Qt::ISODate)).arg(memo);