From a90bb4a4ef9fac5c6185b763aa2cafba9d7c6b12 Mon Sep 17 00:00:00 2001 From: Ben Harris Date: Sun, 13 Nov 2022 14:05:55 +0000 Subject: [PATCH] js: Better handling of games without presets and/or solve Games with neither presets nor configuration (which may only be the Null Game) have been slightly broken since the introduction of hierarchical preset menus, in that the code to remove the "Type..." menu stopped being called then. My switch to using radio buttons in menus then broke them utterly because it's not possible to set the value of an empty radio group, causing a crash at startup. Fix this by detected when there's no preset menu, removing the item from the menu bar, and setting the variable that's meant to indicate this has been done. The solve button problem was more subtle, in that only the