mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-18 20:10:29 +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:
committed by
Carlos R. Mafra
parent
97702618de
commit
f63635dd17
@@ -1527,7 +1527,7 @@ static void showData(_Panel * panel)
|
||||
}
|
||||
|
||||
pmenu = WMReadPropListFromFile(path);
|
||||
wfree(path);
|
||||
menuPath = path;
|
||||
}
|
||||
|
||||
if (!pmenu || !WMIsPLArray(pmenu)) {
|
||||
|
||||
Reference in New Issue
Block a user