projects
/
web/konrad/smoke.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
af95189
)
fix the fix: use the correct payment name in transaction
author
Konrad Rosenbaum
<konrad@silmor.de>
Fri, 22 Nov 2013 17:53:36 +0000 (18:53 +0100)
committer
Konrad Rosenbaum
<konrad@silmor.de>
Fri, 22 Nov 2013 17:53:36 +0000 (18:53 +0100)
src/dialogs/payedit.cpp
patch
|
blob
|
history
diff --git
a/src/dialogs/payedit.cpp
b/src/dialogs/payedit.cpp
index
57ff39b
..
f819717
100644
(file)
--- 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<MOPaymentType>().name();
}
QString MPaymentDialog::paydata() const