v3.3.0: fixed disabled buttons in wndOptions not showing as disabled
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user