diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2011-06-21 19:14:35 +0200 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2011-06-21 19:14:35 +0200 |
commit | c92fc340a2a1fa019a1f392e97c3220aa738441b (patch) | |
tree | ae3963b55e6e16c06c2cef968ba0e4a505485622 /src/qt/bitcoinamountfield.cpp | |
parent | 50d08dc1e1a04b386e3863b229764fe8763799fb (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/bitcoinamountfield.cpp')
-rw-r--r-- | src/qt/bitcoinamountfield.cpp | 1 |
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; |