mirror of
https://github.com/gryf/wmaker.git
synced 2026-10-06 00:50:34 +02: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:
1 parent
97702618de
commit
f63635dd17
1 file changed
+1
-1
+1
-1
@@ -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