Use SaveAppZoneHistory in some places

This commit is contained in:
Ivan Stošić 2021-01-05 11:39:28 +01:00
parent bda6dfa7ad
commit 74a4a1e467

View File

@ -441,7 +441,7 @@ bool FancyZonesData::SetAppLastZones(HWND window, const std::wstring& deviceId,
data.processIdToHandleMap[processId] = window;
data.zoneSetUuid = zoneSetId;
data.zoneIndexSet = zoneIndexSet;
SaveFancyZonesData();
SaveAppZoneHistory();
return true;
}
}
@ -465,7 +465,7 @@ bool FancyZonesData::SetAppLastZones(HWND window, const std::wstring& deviceId,
appZoneHistoryMap[processPath] = std::vector<FancyZonesDataTypes::AppZoneHistoryData>{ data };
}
SaveFancyZonesData();
SaveAppZoneHistory();
return true;
}