diff options
| author | Wladimir J. van der Laan <[email protected]> | 2011-06-21 19:14:35 +0200 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2011-06-21 19:14:35 +0200 |
| commit | c92fc340a2a1fa019a1f392e97c3220aa738441b (patch) | |
| tree | ae3963b55e6e16c06c2cef968ba0e4a505485622 /src/qt/bitcoinamountfield.cpp | |
| parent | fix issue #7 (diff) | |
| download | discoin-c92fc340a2a1fa019a1f392e97c3220aa738441b.tar.xz discoin-c92fc340a2a1fa019a1f392e97c3220aa738441b.zip | |
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 19fa23018..935bd13a4 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; |