Skip to content

Commit

Permalink
Backup
Browse files Browse the repository at this point in the history
  • Loading branch information
willythecat committed Nov 22, 2018
1 parent f96db1e commit 2ea30d6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/qt/bitcashaddressvalidator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,7 @@ QValidator::State BitcashAmountEntryValidator::validate(QString &input, int &pos
return QValidator::Invalid;
}
int posdecimal=input.indexOf('.');
if (posdecimal>=0 && input.size()-posdecimal>7) return QValidator::Invalid;
if (posdecimal>=0 && input.size()-posdecimal>10) return QValidator::Invalid;
if (posdecimal>12) return QValidator::Invalid;
if (posdecimal==-1 && input.size()>12) return QValidator::Invalid;

Expand Down
3 changes: 2 additions & 1 deletion src/qt/forms/Send.qml
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,8 @@ SendForm {
}

amountEdit.validator: amountCheckVal
amountEdit.onTextChanged: calcleftbalance()
amountEdit.onTextChanged: calcleftbalance()
amountEditan.validator: amountCheckVal
amountEditan.onTextChanged: calcleftbalancean()
paytoEdit.validator: destCheckVal
/***********************************/
Expand Down

0 comments on commit 2ea30d6

Please sign in to comment.