mirror of
https://github.com/monero-project/monero-gui.git
synced 2024-12-23 03:59:38 +00:00
main: wizard: console.log fixes
This commit is contained in:
parent
d3943ca2a9
commit
8ad5fd4c76
2 changed files with 1 additions and 2 deletions
2
main.qml
2
main.qml
|
@ -1299,7 +1299,7 @@ ApplicationWindow {
|
|||
function fiatApiConvertToFiat(amount) {
|
||||
var ticker = persistentSettings.fiatPriceCurrency === "xmrusd" ? appWindow.fiatPriceXMRUSD : appWindow.fiatPriceXMREUR;
|
||||
if(ticker <= 0){
|
||||
console.log(fiatApiError("Invalid ticker value: " + ticker));
|
||||
fiatApiError("Invalid ticker value: " + ticker);
|
||||
return "?.??";
|
||||
}
|
||||
return (amount * ticker).toFixed(2);
|
||||
|
|
|
@ -222,7 +222,6 @@ Rectangle {
|
|||
validator: IntValidator { bottom: 1 }
|
||||
text: persistentSettings.kdfRounds ? persistentSettings.kdfRounds : "1"
|
||||
onTextChanged: {
|
||||
console.log('x');
|
||||
kdfRoundsText.text = persistentSettings.kdfRounds = parseInt(kdfRoundsText.text) >= 1 ? parseInt(kdfRoundsText.text) : 1;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue