diff options
Diffstat (limited to 'examples/quick/demos/stocqt/content/StockView.qml')
-rw-r--r-- | examples/quick/demos/stocqt/content/StockView.qml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/quick/demos/stocqt/content/StockView.qml b/examples/quick/demos/stocqt/content/StockView.qml index eefcf0aeb4..ce55fdf3d3 100644 --- a/examples/quick/demos/stocqt/content/StockView.qml +++ b/examples/quick/demos/stocqt/content/StockView.qml @@ -53,6 +53,8 @@ Rectangle { signal settingsClicked function update() { + if (!settings) + return; chart.endDate = settings.endDate chart.update() } |