From 12f2a2b6e089332cc46cb1d3c0f62ed734c527a8 Mon Sep 17 00:00:00 2001 From: "moneromooo.monero" Date: Sun, 6 Nov 2016 12:33:17 +0000 Subject: [PATCH] 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. --- BasicPanel.qml | 2 +- MiddlePanel.qml | 2 +- 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"