mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
ui: erase "isHovered" ActionButton state when it is hidden
Button stucks in "hovered" mode, if click on it causes active Toolwindow
tab to change (thus, hiding the toolbar with this button).
Or if active tab is changed by hotkey press while button is being hovered.
(cherry picked from commit ad8171a577)
This commit is contained in:
committed by
Gregory.Shrago
parent
55a82fdaf7
commit
9838d6a5cf
@@ -204,6 +204,8 @@ public class ActionButton extends JComponent implements ActionButtonComponent, A
|
||||
myPresentation.removePropertyChangeListener(myPresentationListener);
|
||||
myPresentationListener = null;
|
||||
}
|
||||
myRollover = false;
|
||||
myMouseDown = false;
|
||||
super.removeNotify();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user