From 4f40e3005664624f551f612b0f42f75dcb0b0e85 Mon Sep 17 00:00:00 2001 From: tobtoht Date: Tue, 25 May 2021 15:30:19 +0200 Subject: [PATCH] Save historyWidget viewstate on close --- src/mainwindow.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index 04705ae2..5c923ce3 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -824,6 +824,8 @@ void MainWindow::closeEvent(QCloseEvent *event) { if (!this->cleanedUp) { this->cleanedUp = true; + m_historyWidget->resetModel(); + m_updateBytes.stop(); m_txTimer.stop();