Skip to content

Commit

Permalink
Fix for "Widget is disposed" Error in AccountBalancePane (portfolio-p…
Browse files Browse the repository at this point in the history
  • Loading branch information
Nirus2000 committed Dec 3, 2024
1 parent b9083e5 commit 8266554
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public class AccountBalancePane implements InformationPanePage
@Optional
public void onDiscreedModeChanged(@UIEventTopic(UIConstants.Event.Global.DISCREET_MODE) Object obj)
{
if (chart != null)
if (chart != null && !chart.isDisposed())
chart.redraw();
}

Expand Down

0 comments on commit 8266554

Please sign in to comment.