aboutsummaryrefslogtreecommitdiff
path: root/src/qt/sendcoinsentry.cpp
diff options
context:
space:
mode:
authorMatt Corallo <[email protected]>2011-12-07 00:00:04 -0500
committerMatt Corallo <[email protected]>2012-01-05 00:29:28 -0500
commit9a93c4c02471fea7acb4882efaebaaefc1733466 (patch)
tree05504e635175636408d824e6aeb17bf7a69b8132 /src/qt/sendcoinsentry.cpp
parentMerge pull request #731 from laanwj/txshowfix (diff)
downloaddiscoin-9a93c4c02471fea7acb4882efaebaaefc1733466.tar.xz
discoin-9a93c4c02471fea7acb4882efaebaaefc1733466.zip
Automatically refocus on new SendCoinsEntrys and scroll to them.
Diffstat (limited to 'src/qt/sendcoinsentry.cpp')
-rw-r--r--src/qt/sendcoinsentry.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/qt/sendcoinsentry.cpp b/src/qt/sendcoinsentry.cpp
index 23b11ccdd..ab5460f8c 100644
--- a/src/qt/sendcoinsentry.cpp
+++ b/src/qt/sendcoinsentry.cpp
@@ -151,3 +151,8 @@ bool SendCoinsEntry::isClear()
return ui->payTo->text().isEmpty();
}
+void SendCoinsEntry::setFocus()
+{
+ ui->payTo->setFocus();
+}
+