v3.3.0: fixed disabled buttons in wndOptions not showing as disabled

This commit is contained in:
Evan Debenham
2025-11-26 11:11:29 -05:00
parent e1f032ed15
commit ff3d75bab3

View File

@@ -94,7 +94,6 @@ public class WndOptions extends Window {
};
if (hasIcon(i)) btn.icon(getIcon(i));
btn.multiline = true;
btn.enable(enabled(i));
add( btn );
if (!hasInfo(i)) {
@@ -111,6 +110,8 @@ public class WndOptions extends Window {
add(info);
}
btn.enable(enabled(i));
pos += BUTTON_HEIGHT + MARGIN;
}