mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-12-14 06:32:33 +01:00
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:
@@ -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