Save session info when unloading machine data

Fixes 0000046
This commit is contained in:
Norman Heino 2019-05-24 05:27:02 +02:00
parent a2ff7ef95e
commit 07372487ac

View File

@ -587,6 +587,7 @@ void Profile::UnloadMachineData()
daylist.clear();
for (auto & mach : m_machlist) {
mach->saveSessionInfo();
mach->sessionlist.clear();
mach->day.clear();
}