mirror of
https://github.com/magefree/mage.git
synced 2025-12-24 20:41:58 -08:00
minor fix for tooltips
This commit is contained in:
parent
83e39e900a
commit
c23b065479
1 changed files with 4 additions and 1 deletions
|
|
@ -146,7 +146,7 @@ public class MageActionCallback implements ActionCallback {
|
|||
}
|
||||
|
||||
try {
|
||||
if (session == null) {
|
||||
if (session == null || !state) {
|
||||
return;
|
||||
}
|
||||
final Component popupContainer = session.getUI().getComponent(MageComponents.POPUP_CONTAINER);
|
||||
|
|
@ -161,6 +161,9 @@ public class MageActionCallback implements ActionCallback {
|
|||
SwingUtilities.invokeLater(new Runnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
if (!state) {
|
||||
return;
|
||||
}
|
||||
popupContainer.setVisible(true);
|
||||
c.repaint();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue