mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[ui] logs incorrect action button icon; follow-up (EA-107137)
This commit is contained in:
@@ -265,7 +265,7 @@ public class ActionButton extends JComponent implements ActionButtonComponent, A
|
||||
if (myPresentation.getDisabledIcon() != null) { // set disabled icon if it is specified
|
||||
myDisabledIcon = myPresentation.getDisabledIcon();
|
||||
}
|
||||
else if (IconLoader.isGoodSize(myIcon)) {
|
||||
else if (myIcon == null || IconLoader.isGoodSize(myIcon)) {
|
||||
myDisabledIcon = IconLoader.getDisabledIcon(myIcon);
|
||||
}
|
||||
else {
|
||||
|
||||
Reference in New Issue
Block a user