diff --git a/mix/qml/DeployContractStep.qml b/mix/qml/DeployContractStep.qml index 128aeede7..c239e03a5 100644 --- a/mix/qml/DeployContractStep.qml +++ b/mix/qml/DeployContractStep.qml @@ -20,6 +20,7 @@ Rectangle { property int labelWidth: 150 + function show() { visible = true @@ -31,13 +32,12 @@ Rectangle { accountsModel.append(worker.accounts[k]) } - if (worker.accounts.length > 0) + if (worker.currentAccount === "" && worker.accounts.length > 0) { worker.currentAccount = worker.accounts[0].id accountsList.currentIndex = 0 } - if (projectModel.deployBlockNumber !== -1) { worker.verifyHashes(projectModel.deploymentTrHashes, function (bn, trLost)