Prevent GC saving the perspectives twice (#4636)

The saveState() call results in the loaded perspectives being saved twice when GC exits, once in saveState() and again when the AbstractView's destructor is called.
This commit is contained in:
Paul Johnson
2025-05-21 12:41:05 +01:00
committed by GitHub
parent 79e2b6078a
commit 922907d82e

View File

@@ -123,11 +123,6 @@ AthleteTab::~AthleteTab()
void
AthleteTab::close()
{
analysisView->saveState();
homeView->saveState();
trainView->saveState();
diaryView->saveState();
analysisView->close();
homeView->close();
trainView->close();