Browse Source

ui gasPrice changes

cl-refactor
yann300 10 years ago
parent
commit
cabfb787ac
  1. 4
      mix/qml/DeployContractStep.qml
  2. 4
      mix/qml/RegisteringStep.qml

4
mix/qml/DeployContractStep.qml

@ -297,9 +297,9 @@ Rectangle {
Ether
{
id: gasPriceInput
displayUnitSelection: false
displayUnitSelection: true
displayFormattedValue: true
edit: false
edit: true
function toHexWei()
{

4
mix/qml/RegisteringStep.qml

@ -156,7 +156,7 @@ Rectangle {
NetworkDeploymentCode.checkPathCreationCost(applicationUrlEthCtrl.text, function(pathCreationCost)
{
var ether = QEtherHelper.createBigInt(pathCreationCost);
var gasTotal = ether.multiply(worker.gasPriceInt);
var gasTotal = ether.multiply(deploymentDialog.deployStep.gasPrice.value.toWei());
gasToUseDeployInput.value = QEtherHelper.createEther(gasTotal.value(), QEther.Wei, parent);
gasToUseDeployInput.update();
});
@ -167,7 +167,7 @@ Rectangle {
Ether
{
id: gasToUseDeployInput
displayUnitSelection: true
displayUnitSelection: false
displayFormattedValue: true
edit: false
Layout.preferredWidth: 235

Loading…
Cancel
Save