mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
action button presentation on disabled toolbar should behave appropriate (IDEA-56798)
This commit is contained in:
@@ -92,7 +92,7 @@ public class ActionButton extends JComponent implements ActionButtonComponent {
|
||||
}
|
||||
|
||||
protected boolean isButtonEnabled() {
|
||||
return myPresentation.isEnabled();
|
||||
return isEnabled() && myPresentation.isEnabled();
|
||||
}
|
||||
|
||||
private void onMousePresenceChanged(boolean setInfo) {
|
||||
|
||||
Reference in New Issue
Block a user