Skip to content

Commit

Permalink
Remove address info while paying request
Browse files Browse the repository at this point in the history
  • Loading branch information
adityapk00 committed Mar 23, 2019
1 parent 1d48342 commit 6a16c25
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions src/requestdialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,9 @@ void RequestDialog::showPaymentConfirmation(MainWindow* main, QString paymentURI
// No Addressbook
req.btnAddressBook->setVisible(false);

// No "address is visible" warning
req.lblAddressInfo->setVisible(false);

req.txtFrom->setText(payInfo.addr);
req.txtMemo->setPlainText(payInfo.memo);
req.txtAmount->setText(payInfo.amt);
Expand Down
2 changes: 1 addition & 1 deletion src/requestdialog.ui
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@
</widget>
</item>
<item row="12" column="1" colspan="3">
<widget class="QLabel" name="label_4">
<widget class="QLabel" name="lblAddressInfo">
<property name="text">
<string>The recipient will see this address in the &quot;to&quot; field when they pay your request.</string>
</property>
Expand Down

0 comments on commit 6a16c25

Please sign in to comment.