diff --git a/pages/Transfer.qml b/pages/Transfer.qml index 657a033c..901b65e8 100644 --- a/pages/Transfer.qml +++ b/pages/Transfer.qml @@ -339,7 +339,8 @@ Rectangle { } // The amount does not start with a period (example: `.4`) - if(amountLine.text.startsWith('.')){ + // @TODO: replace with .startsWith() after Qt >=5.8 + if(amountLine.text.indexOf('.') === 0){ return false; }