mirror of
https://github.com/Retropex/bitcoin.git
synced 2025-06-04 00:12:33 +02:00
Diff-minimise
This commit is contained in:
parent
722ae7e648
commit
a1cad5e4d6
@ -77,7 +77,9 @@ AddressBookPage::AddressBookPage(const PlatformStyle *platformStyle, Mode _mode,
|
||||
ui->exportButton->setIcon(platformStyle->SingleColorIcon(":/icons/export"));
|
||||
}
|
||||
|
||||
if (mode == ForSelection) {
|
||||
switch(mode)
|
||||
{
|
||||
case ForSelection:
|
||||
switch(tab)
|
||||
{
|
||||
case SendingTab: setWindowTitle(tr("Choose the address to send coins to")); break;
|
||||
@ -88,6 +90,14 @@ AddressBookPage::AddressBookPage(const PlatformStyle *platformStyle, Mode _mode,
|
||||
ui->tableView->setFocus();
|
||||
ui->closeButton->setText(tr("C&hoose"));
|
||||
ui->exportButton->hide();
|
||||
break;
|
||||
case ForEditing:
|
||||
switch(tab)
|
||||
{
|
||||
case SendingTab: setWindowTitle(tr("Sending addresses")); break;
|
||||
case ReceivingTab: setWindowTitle(tr("Receiving addresses")); break;
|
||||
}
|
||||
break;
|
||||
}
|
||||
switch(tab)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user