diff options
| author | moneromooo.monero <moneromooo.monero@users.noreply.github.com> | 2016-11-06 12:33:17 +0000 |
|---|---|---|
| committer | moneromooo.monero <moneromooo.monero@users.noreply.github.com> | 2016-11-09 18:58:34 +0000 |
| commit | 12f2a2b6e089332cc46cb1d3c0f62ed734c527a8 (patch) | |
| tree | 47dad22cd56b4098a5ff8a1e14d56b09ef7ced4b | |
| parent | 68736ab834533db50cb5eaebf9a751ad0f2fa5a6 (diff) | |
| download | monzero-gui-12f2a2b6e089332cc46cb1d3c0f62ed734c527a8.tar.gz monzero-gui-12f2a2b6e089332cc46cb1d3c0f62ed734c527a8.tar.xz monzero-gui-12f2a2b6e089332cc46cb1d3c0f62ed734c527a8.zip | |
Fix small amounts from being conflated with zero
Something like 0.000000000012 was converted to 1.2e-11
by the conversion to double, and that was rejected by
the Cryptonote parser.
| -rw-r--r-- | BasicPanel.qml | 2 | ||||
| -rw-r--r-- | MiddlePanel.qml | 2 | ||||
| -rw-r--r-- | pages/Transfer.qml | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/BasicPanel.qml b/BasicPanel.qml index d85b84f9..3d2d45d1 100644 --- a/BasicPanel.qml +++ b/BasicPanel.qml @@ -46,7 +46,7 @@ Rectangle { property alias balanceText : balanceText.text; property alias unlockedBalanceText : availableBalanceText.text; // repeating signal to the outside world - signal paymentClicked(string address, string paymentId, double amount, int mixinCount, + signal paymentClicked(string address, string paymentId, string amount, int mixinCount, int priority, string description) Connections { diff --git a/MiddlePanel.qml b/MiddlePanel.qml index f1254760..1d1b86e6 100644 --- a/MiddlePanel.qml +++ b/MiddlePanel.qml @@ -50,7 +50,7 @@ Rectangle { property Settings settingsView: Settings { } - signal paymentClicked(string address, string paymentId, double amount, int mixinCount, int priority, string description) + signal paymentClicked(string address, string paymentId, string amount, int mixinCount, int priority, string description) signal generatePaymentIdInvoked() signal checkPaymentClicked(string address, string txid, string txkey); diff --git a/pages/Transfer.qml b/pages/Transfer.qml index eb752cda..95c3e993 100644 --- a/pages/Transfer.qml +++ b/pages/Transfer.qml @@ -33,7 +33,7 @@ import "../components" Rectangle { id: root - signal paymentClicked(string address, string paymentId, double amount, int mixinCount, + signal paymentClicked(string address, string paymentId, string amount, int mixinCount, int priority, string description) color: "#F0EEEE" |
