diff --git a/src/main/java/net/rptools/maptool/client/ui/htmlframe/HTMLFrame.java b/src/main/java/net/rptools/maptool/client/ui/htmlframe/HTMLFrame.java index ce95f272b4..a3b2ba9cbc 100644 --- a/src/main/java/net/rptools/maptool/client/ui/htmlframe/HTMLFrame.java +++ b/src/main/java/net/rptools/maptool/client/ui/htmlframe/HTMLFrame.java @@ -310,7 +310,7 @@ public void updateContents( /** Run all callback macros for "onChangeSelection". */ public static void doSelectedChanged() { for (HTMLFrame frame : frames.values()) { - if (frame.isVisible()) { + if (!frame.isHidden()) { HTMLPanelContainer.selectedChanged(frame.macroCallbacks); } } @@ -319,7 +319,7 @@ public static void doSelectedChanged() { /** Run all callback macros for "onChangeImpersonated". */ public static void doImpersonatedChanged() { for (HTMLFrame frame : frames.values()) { - if (frame.isVisible()) { + if (!frame.isHidden()) { HTMLPanelContainer.impersonatedChanged(frame.macroCallbacks); } } @@ -333,7 +333,7 @@ public static void doImpersonatedChanged() { public static void doTokenChanged(Token token) { if (token != null) { for (HTMLFrame frame : frames.values()) { - if (frame.isVisible()) { + if (!frame.isHidden()) { HTMLPanelContainer.tokenChanged(token, frame.macroCallbacks); } }