~saviq/unity8/build-arm64

« back to all changes in this revision

Viewing changes to qml/Panel/Indicators/client/IndicatorsList.qml

  • Committer: Michał Sawicz
  • Date: 2016-07-15 09:51:02 UTC
  • mfrom: (2400.1.142 unity8)
  • Revision ID: michal.sawicz@canonical.com-20160715095102-hf5ac4iqnfn1itpw
Merge trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
58
58
 
59
59
                onClicked: {
60
60
                    var new_page = Qt.createComponent("IndicatorRepresentation.qml");
 
61
                    if (new_page.status !== Component.Ready) {
 
62
                        if (new_page.status === Component.Error)
 
63
                            console.error("Error: " + new_page.errorString());
 
64
 
 
65
                        return;
 
66
                    }
 
67
 
61
68
                    page.pageStack.push(new_page.createObject(pages), {"indicatorProperties" : model.indicatorProperties });
62
69
                }
63
70
            }