Merge pull request 'Clear all tables when wallet is closed' (#282) from tobtoht/feather:clear_tables into master

Reviewed-on: https://git.wownero.com/feather/feather/pulls/282
This commit is contained in:
tobtoht
2021-01-21 00:19:38 +00:00
7 changed files with 22 additions and 0 deletions
+4
View File
@@ -335,7 +335,11 @@ MainWindow::MainWindow(AppContext *ctx, QWidget *parent) :
else
ui->tabWidget->setCurrentIndex(Tabs::HOME);
// Clear all tables when wallet is closed
ui->historyWidget->resetModel();
ui->contactWidget->resetModel();
ui->receiveWidget->resetModel();
ui->coinsWidget->resetModel();
});
// window title