mirror of
https://github.com/microsoft/PowerToys.git
synced 2025-01-18 22:43:31 +08:00
Use SaveAppZoneHistory in some places
This commit is contained in:
parent
bda6dfa7ad
commit
74a4a1e467
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user