mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-05-26 21:35:16 +00:00
update menu selection when configuration changed in advanced settings
This commit is contained in:
@@ -267,7 +267,7 @@ public class AdvancedSettingsDialog extends AppDialog {
|
||||
for (String name : keys) {
|
||||
Field field = fields.get(name);
|
||||
ConfigurationCategory cat = field.getAnnotation(ConfigurationCategory.class);
|
||||
String scat = cat == null ? "other" : cat.value();
|
||||
String scat = (cat == null || cat.value().equals("")) ? "other" : cat.value();
|
||||
if (!categorized.containsKey(scat)) {
|
||||
categorized.put(scat, new HashMap<>());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user