Skip to content

Commit

Permalink
Fix for "Widget is disposed" Error in AccountBalancePane (#4381)
Browse files Browse the repository at this point in the history
Closes #4381
  • Loading branch information
Nirus2000 authored and buchen committed Dec 3, 2024
1 parent d5bbd9c commit eca87c7
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 eca87c7

Please sign in to comment.