mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-07-04 04:25:07 +00:00
AMF3 Dictionary has entries in JSON array with key+value fields.
AMF3 SOL map writing uses stringTable for keys. Ribbon menuitems Nullpointer.
This commit is contained in:
@@ -680,6 +680,9 @@ public class MainFrameRibbonMenu extends MainFrameMenu {
|
||||
|
||||
@Override
|
||||
public void setMenuEnabled(String path, boolean enabled) {
|
||||
if (menuItems == null) {
|
||||
return;
|
||||
}
|
||||
if (!menuItems.containsKey(path)) {
|
||||
throw new IllegalArgumentException("Menu not found: " + path);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user