From 3a81c1059846a93e1d46d843b319260c6b19b95e Mon Sep 17 00:00:00 2001 From: yann300 Date: Tue, 12 May 2015 12:14:26 +0200 Subject: [PATCH] use - instead of "(transfer)" --- mix/qml/TransactionDialog.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mix/qml/TransactionDialog.qml b/mix/qml/TransactionDialog.qml index d9c811704..fe4bfc82e 100644 --- a/mix/qml/TransactionDialog.qml +++ b/mix/qml/TransactionDialog.qml @@ -107,6 +107,7 @@ Dialog { function loadFunctions(contractId) { functionsModel.clear(); + functionsModel.append({ text: " - " }); var contract = codeModel.contracts[contractId]; if (contract) { var functions = codeModel.contracts[contractId].contract.functions; @@ -114,7 +115,6 @@ Dialog { functionsModel.append({ text: functions[f].name }); } } - functionsModel.append({ text: "(transfert)" }); } function selectContract(contractName) @@ -210,7 +210,7 @@ Dialog { } item.isContractCreation = trType.checked; - item.isFunctionCall = item.functionId !== "(transfert)"; + item.isFunctionCall = item.functionId !== " - "; if (!item.isContractCreation) {