aboutsummaryrefslogtreecommitdiff
path: root/src/qt/messagepage.cpp
diff options
context:
space:
mode:
authorPhilip Kaufmann <phil.kaufmann@t-online.de>2012-04-30 01:11:53 +0200
committerPhilip Kaufmann <phil.kaufmann@t-online.de>2012-05-03 09:23:37 +0200
commit65c2ad687f4bff2721d99ff98bec8f02f0640db1 (patch)
treecfa62151e2de886e0790b532c67a0e0e6c4e9cdd /src/qt/messagepage.cpp
parente099e1568a3343ddb32b18e276282c87fa49e584 (diff)
add a clear all button to the sign message page
Diffstat (limited to 'src/qt/messagepage.cpp')
-rw-r--r--src/qt/messagepage.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/qt/messagepage.cpp b/src/qt/messagepage.cpp
index 18bb64fe6c..d658119a08 100644
--- a/src/qt/messagepage.cpp
+++ b/src/qt/messagepage.cpp
@@ -105,3 +105,10 @@ void MessagePage::on_signMessage_clicked()
ui->signature->setText(QString::fromStdString(EncodeBase64(&vchSig[0], vchSig.size())));
ui->signature->setFont(GUIUtil::bitcoinAddressFont());
}
+
+void MessagePage::on_clearButton_clicked()
+{
+ ui->signFrom->clear();
+ ui->message->clear();
+ ui->signature->clear();
+}