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 authored and Carlos R. Mafra committed 2017-08-19 15:59:13 +01:00
1 parent 97702618de
commit f63635dd17
1 file changed
+1 -1
+1 -1
View File
@@ -1527,7 +1527,7 @@ static void showData(_Panel * panel)
}
pmenu = WMReadPropListFromFile(path);
wfree(path);
menuPath = path;
}
if (!pmenu || !WMIsPLArray(pmenu)) {