diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/qt/bitcoingui.cpp | 1 | ||||
-rw-r--r-- | src/qt/forms/sendcoinsdialog.ui | 25 | ||||
-rw-r--r-- | src/qt/res/icons/notsynced.png | bin | 0 -> 1013 bytes | |||
-rw-r--r-- | src/qt/res/icons/synced.png | bin | 0 -> 1127 bytes | |||
-rw-r--r-- | src/qt/sendcoinsdialog.cpp | 1 |
5 files changed, 6 insertions, 21 deletions
diff --git a/src/qt/bitcoingui.cpp b/src/qt/bitcoingui.cpp index 06c2034da5..add8abc995 100644 --- a/src/qt/bitcoingui.cpp +++ b/src/qt/bitcoingui.cpp @@ -474,6 +474,7 @@ void BitcoinGUI::gotoReceiveCoinsPage() void BitcoinGUI::gotoSendCoinsPage() { sendCoinsAction->setChecked(true); + sendCoinsPage->clear(); centralWidget->setCurrentWidget(sendCoinsPage); exportAction->setEnabled(false); } diff --git a/src/qt/forms/sendcoinsdialog.ui b/src/qt/forms/sendcoinsdialog.ui index a5c38a5306..c3b966cac7 100644 --- a/src/qt/forms/sendcoinsdialog.ui +++ b/src/qt/forms/sendcoinsdialog.ui @@ -107,6 +107,9 @@ <property name="maxLength"> <number>34</number> </property> + <property name="placeholderText"> + <string/> + </property> </widget> </item> <item> @@ -178,7 +181,7 @@ <widget class="QPushButton" name="sendButton"> <property name="minimumSize"> <size> - <width>120</width> + <width>150</width> <height>0</height> </size> </property> @@ -197,25 +200,6 @@ </property> </widget> </item> - <item> - <widget class="QDialogButtonBox" name="buttonBox"> - <property name="sizePolicy"> - <sizepolicy hsizetype="Maximum" vsizetype="Fixed"> - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> - </property> - <property name="toolTip"> - <string>Abort the send action</string> - </property> - <property name="standardButtons"> - <set>QDialogButtonBox::Cancel</set> - </property> - <property name="centerButtons"> - <bool>false</bool> - </property> - </widget> - </item> </layout> </item> <item> @@ -248,7 +232,6 @@ <tabstop>addAsLabel</tabstop> <tabstop>payAmount</tabstop> <tabstop>sendButton</tabstop> - <tabstop>buttonBox</tabstop> </tabstops> <resources> <include location="../bitcoin.qrc"/> diff --git a/src/qt/res/icons/notsynced.png b/src/qt/res/icons/notsynced.png Binary files differnew file mode 100644 index 0000000000..c9e71184c5 --- /dev/null +++ b/src/qt/res/icons/notsynced.png diff --git a/src/qt/res/icons/synced.png b/src/qt/res/icons/synced.png Binary files differnew file mode 100644 index 0000000000..910fc396ed --- /dev/null +++ b/src/qt/res/icons/synced.png diff --git a/src/qt/sendcoinsdialog.cpp b/src/qt/sendcoinsdialog.cpp index 91397a7d25..9724368a9c 100644 --- a/src/qt/sendcoinsdialog.cpp +++ b/src/qt/sendcoinsdialog.cpp @@ -23,6 +23,7 @@ SendCoinsDialog::SendCoinsDialog(QWidget *parent, const QString &address) : ui->payTo->setPlaceholderText(tr("Enter a Bitcoin address (e.g. 1NS17iag9jJgTHD1VXjvLCEnZuQ3rJDE9L)")); ui->addAsLabel->setPlaceholderText(tr("Enter a label for this address to add it to your address book")); #endif + GUIUtil::setupAddressWidget(ui->payTo, this); // Set initial send-to address if provided |