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:
1 parent
50d08dc1e1
commit
c92fc340a2
1 file changed
+1
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user