1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-19 20:38:08 +01:00

WPrefs: Save menu back to the file we read it from.

Previously, we saved any modifications back to WMRootMenu, regardless of
the file we read the menu from.
This commit is contained in:
Doug Torrance
2017-08-19 10:48:43 -04:00
committed by Carlos R. Mafra
parent 97702618de
commit f63635dd17

View File

@@ -1527,7 +1527,7 @@ static void showData(_Panel * panel)
} }
pmenu = WMReadPropListFromFile(path); pmenu = WMReadPropListFromFile(path);
wfree(path); menuPath = path;
} }
if (!pmenu || !WMIsPLArray(pmenu)) { if (!pmenu || !WMIsPLArray(pmenu)) {