diff --git a/src/qt/bitcoingui.cpp b/src/qt/bitcoingui.cpp index 3e6b5470..c9a892fd 100644 --- a/src/qt/bitcoingui.cpp +++ b/src/qt/bitcoingui.cpp @@ -525,7 +525,9 @@ void BitcoinGUI::gotoSendCoinsPage() if(centralWidget->currentWidget() != sendCoinsPage) { // Clear the current contents if we arrived from another tab - sendCoinsPage->clear(); + // Not necessary especially if the user is jumping between Transactions + // and Send Coins pages. - Matoking + //sendCoinsPage->clear(); } centralWidget->setCurrentWidget(sendCoinsPage); diff --git a/src/qt/forms/sendcoinsdialog.ui b/src/qt/forms/sendcoinsdialog.ui index fb2fc99b..f9dd02fe 100644 --- a/src/qt/forms/sendcoinsdialog.ui +++ b/src/qt/forms/sendcoinsdialog.ui @@ -25,7 +25,7 @@ 0 0 666 - 162 + 165 @@ -59,7 +59,7 @@ - 12 + 6 @@ -75,6 +75,26 @@ + + + + + 0 + 0 + + + + Clear all + + + + :/icons/remove:/icons/remove + + + 300 + + + diff --git a/src/qt/sendcoinsdialog.cpp b/src/qt/sendcoinsdialog.cpp index 8954af47..58eb5c21 100644 --- a/src/qt/sendcoinsdialog.cpp +++ b/src/qt/sendcoinsdialog.cpp @@ -22,6 +22,7 @@ SendCoinsDialog::SendCoinsDialog(QWidget *parent) : addEntry(); connect(ui->addButton, SIGNAL(clicked()), this, SLOT(addEntry())); + connect(ui->clearButton, SIGNAL(clicked()), this, SLOT(clear())); } void SendCoinsDialog::setModel(WalletModel *model)