|
|
@ -306,12 +306,14 @@ void SendCoinsDialog::updateTabsAndLabels() |
|
|
|
|
|
|
|
|
|
|
|
void SendCoinsDialog::removeEntry(SendCoinsEntry* entry) |
|
|
|
void SendCoinsDialog::removeEntry(SendCoinsEntry* entry) |
|
|
|
{ |
|
|
|
{ |
|
|
|
entry->deleteLater(); |
|
|
|
entry->hide(); |
|
|
|
|
|
|
|
|
|
|
|
// If the last entry was removed add an empty one
|
|
|
|
// If the last entry is about to be removed add an empty one
|
|
|
|
if (!ui->entries->count()) |
|
|
|
if (ui->entries->count() == 1) |
|
|
|
addEntry(); |
|
|
|
addEntry(); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
entry->deleteLater(); |
|
|
|
|
|
|
|
|
|
|
|
updateTabsAndLabels(); |
|
|
|
updateTabsAndLabels(); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
@ -543,7 +545,7 @@ void SendCoinsDialog::coinControlChangeChecked(int state) |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
// Coin Control: custom change address changed
|
|
|
|
// Coin Control: custom change address changed
|
|
|
|
void SendCoinsDialog::coinControlChangeEdited(const QString & text) |
|
|
|
void SendCoinsDialog::coinControlChangeEdited(const QString& text) |
|
|
|
{ |
|
|
|
{ |
|
|
|
if (model) |
|
|
|
if (model) |
|
|
|
{ |
|
|
|
{ |
|
|
|