From 84b695cc9d4dc90b1ccb99e2d92e1e76e138d911 Mon Sep 17 00:00:00 2001 From: Philip Kaufmann Date: Fri, 22 Nov 2013 13:53:05 +0100 Subject: [Qt] allow deletion of payment-requests in sendcoins - this adds a delete button for insecure and secure payment requests in the sendcoins dialog - it also enables the delete button even for single and empty entries, as this is much easier to handle and doesn't need to special case single entries - big parts of the ui file were changed, because I copied the delete button and had to delete the layout too and created it from scratch (which seems to cleanup the rows and colums in the layout also, which is nice IMHO) --- src/qt/sendcoinsentry.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/qt/sendcoinsentry.h') diff --git a/src/qt/sendcoinsentry.h b/src/qt/sendcoinsentry.h index 1c4ddaa8ef..2b696c77fb 100644 --- a/src/qt/sendcoinsentry.h +++ b/src/qt/sendcoinsentry.h @@ -46,7 +46,6 @@ public: void setFocus(); public slots: - void setRemoveEnabled(bool enabled); void clear(); signals: @@ -54,7 +53,7 @@ signals: void payAmountChanged(); private slots: - void on_deleteButton_clicked(); + void deleteClicked(); void on_payTo_textChanged(const QString &address); void on_addressBookButton_clicked(); void on_pasteButton_clicked(); -- cgit v1.2.3