when going to decimals field using ./, select it all, so that entry starts from scratch instead of appending to previous value
This commit is contained in:
parent
50d08dc1e1
commit
c92fc340a2
1 changed files with 1 additions and 0 deletions
|
@ -62,6 +62,7 @@ bool BitcoinAmountField::eventFilter(QObject *object, QEvent *event)
|
|||
if(keyEvent->key() == Qt::Key_Period || keyEvent->key() == Qt::Key_Comma)
|
||||
{
|
||||
decimals->setFocus();
|
||||
decimals->selectAll();
|
||||
}
|
||||
}
|
||||
return false;
|
||||
|
|
Loading…
Reference in a new issue