Skip to content

Commit

Permalink
Merge pull request #568 from gaetandezeiraud/fluchart-avoid-error
Browse files Browse the repository at this point in the history
Update FluChart.qml
  • Loading branch information
zhuzichu520 authored Nov 17, 2024
2 parents a72ff03 + 8f5fbb4 commit 3647197
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Qt5/imports/FluentUI/Controls/FluChart.qml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Canvas {
function animateToNewData()
{
chartAnimationProgress = 0.1;
d.jsChart.update();
d.jsChart?.update();
chartAnimator.restart();
}
QtObject{
Expand Down
2 changes: 1 addition & 1 deletion src/Qt6/imports/FluentUI/Controls/FluChart.qml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Canvas {
function animateToNewData()
{
chartAnimationProgress = 0.1;
d.jsChart.update();
d.jsChart?.update();
chartAnimator.restart();
}
QtObject{
Expand Down

0 comments on commit 3647197

Please sign in to comment.