From: Konrad Rosenbaum Date: Fri, 22 Nov 2013 17:53:36 +0000 (+0100) Subject: fix the fix: use the correct payment name in transaction X-Git-Url: http://git.silmor.de/gitweb/?a=commitdiff_plain;h=d1b71cb36e5986c3fb0561f41b46c6ed7bbe0878;p=web%2Fkonrad%2Fsmoke.git fix the fix: use the correct payment name in transaction --- 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