Clear all tables when wallet is closed

This commit is contained in:
tobtoht
2020-12-31 07:54:19 +01:00
parent 5b679da427
commit c2e335e439
7 changed files with 22 additions and 0 deletions
+4
View File
@@ -206,6 +206,10 @@ void CoinsWidget::onSweepOutput() {
dialog->deleteLater();
}
void CoinsWidget::resetModel() {
ui->coins->setModel(nullptr);
}
void CoinsWidget::copy(copyField field) {
QModelIndex index = ui->coins->currentIndex();
int row = m_proxyModel->mapToSource(index).row();