From 8654cea10f6902719006d5975db7dc07b2fcc713 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sat, 14 Jan 2012 14:08:52 -0600 Subject: Update to upstream stable version 1.0.5 --- kmymoney2/widgets/stdtransactionmatched.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'kmymoney2/widgets') 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); -- cgit v1.2.1