aboutsummaryrefslogtreecommitdiff
path: root/src/qt
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2011-06-21 19:14:35 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2011-06-21 19:14:35 +0200
commitc92fc340a2a1fa019a1f392e97c3220aa738441b (patch)
treeae3963b55e6e16c06c2cef968ba0e4a505485622 /src/qt
parent50d08dc1e1a04b386e3863b229764fe8763799fb (diff)
when going to decimals field using ./, select it all, so that entry starts from scratch instead of appending to previous value
Diffstat (limited to 'src/qt')
-rw-r--r--src/qt/bitcoinamountfield.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/qt/bitcoinamountfield.cpp b/src/qt/bitcoinamountfield.cpp
index 19fa230183..935bd13a44 100644
--- a/src/qt/bitcoinamountfield.cpp
+++ b/src/qt/bitcoinamountfield.cpp
@@ -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;