1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-21 05:18:06 +01:00

Fixed a bug that made the crash panel to be shown again and again when the

'Restart Window Maker' option was selected, under some circumstances.
(bug reported by Roberto Sanchez <rcsanchez97@yahoo.es>)
This commit is contained in:
dan
2003-11-13 06:10:33 +00:00
parent 20975c4918
commit df75c86ef0
2 changed files with 6 additions and 0 deletions

View File

@@ -2750,6 +2750,10 @@ wMenuRestoreState(WScreen *scr)
{
WMPropList *menus, *menu, *key, *skey;
if (!scr->session_state) {
return;
}
key = WMCreatePLString("Menus");
menus = WMGetFromPLDictionary(scr->session_state, key);
WMReleasePropList(key);