From d1b71cb36e5986c3fb0561f41b46c6ed7bbe0878 Mon Sep 17 00:00:00 2001 From: Konrad Rosenbaum Date: Fri, 22 Nov 2013 18:53:36 +0100 Subject: [PATCH] fix the fix: use the correct payment name in transaction --- src/dialogs/payedit.cpp | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/dialogs/payedit.cpp b/src/dialogs/payedit.cpp index 57ff39b..f819717 100644 --- a/src/dialogs/payedit.cpp +++ b/src/dialogs/payedit.cpp @@ -365,7 +365,7 @@ qint64 MPaymentDialog::value() const QString MPaymentDialog::paytype() const { - return m_ptype->currentText(); + return m_ptype->itemData(m_ptype->currentIndex()).value().name(); } QString MPaymentDialog::paydata() const -- 1.7.2.5