We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f15bd3c + 6c98cca commit 00cfc9fCopy full SHA for 00cfc9f
src/qt/sendcoinsdialog.cpp
@@ -260,7 +260,7 @@ void SendCoinsDialog::clear()
260
// Remove entries until only one left
261
while(ui->entries->count())
262
{
263
- delete ui->entries->takeAt(0)->widget();
+ ui->entries->takeAt(0)->widget()->deleteLater();
264
}
265
addEntry();
266
@@ -306,7 +306,7 @@ void SendCoinsDialog::updateTabsAndLabels()
306
307
void SendCoinsDialog::removeEntry(SendCoinsEntry* entry)
308
309
- delete entry;
+ entry->deleteLater();
310
311
// If the last entry was removed add an empty one
312
if (!ui->entries->count())
0 commit comments