mirror of
https://gitee.com/jmix/cuba.git
synced 2024-12-05 04:38:10 +08:00
PL-7660 DesktopToolTipManager reuses popup window after it was returned to cache
(cherry picked from commit 58c0fb3)
This commit is contained in:
parent
634202ea10
commit
f04b21c95a
@ -69,6 +69,7 @@ public class DesktopToolTipManager extends MouseAdapter {
|
||||
@Override
|
||||
public void actionPerformed(ActionEvent e) {
|
||||
window.hide();
|
||||
window = null;
|
||||
tooltipShowing = false;
|
||||
toolTipWindow.removeMouseListener(DesktopToolTipManager.this);
|
||||
component.removeMouseListener(DesktopToolTipManager.this);
|
||||
@ -158,6 +159,7 @@ public class DesktopToolTipManager extends MouseAdapter {
|
||||
closeTimer.stop();
|
||||
if (window != null) {
|
||||
window.hide();
|
||||
window = null;
|
||||
tooltipShowing = false;
|
||||
toolTipWindow.removeMouseListener(DesktopToolTipManager.this);
|
||||
component.removeMouseListener(DesktopToolTipManager.this);
|
||||
|
Loading…
Reference in New Issue
Block a user