Previously, we saved any modifications back to WMRootMenu, regardless of
the file we read the menu from.
---
WPrefs.app/Menu.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/WPrefs.app/Menu.c b/WPrefs.app/Menu.c
index 6e682b57..3caf4975 100644
--- a/WPrefs.app/Menu.c
+++ b/WPrefs.app/Menu.c
@@ -1527,7 +1527,7 @@ static void showData(_Panel * panel)
}
pmenu = WMReadPropListFromFile(path);
- wfree(path);
+ menuPath = path;
}
if (!pmenu || !WMIsPLArray(pmenu)) {
--
2.11.0
--
To unsubscribe, send mail to [email protected].