~vthompson/ubuntu-ui-toolkit/expose-pressed-ubuntushape

« back to all changes in this revision

Viewing changes to modules/Ubuntu/Components/PageHeadSections.qml

merge changes in this branch that I missed

Show diffs side-by-side

added added

removed removed

Lines of Context:
64
64
            }
65
65
        }
66
66
     \endqml
 
67
     It is strongly recommended to limit the number of sections to two or three.
67
68
     */
68
69
    property var model
 
70
    onModelChanged: {
 
71
        if (model && model.length > 3) {
 
72
            console.warn("It is not recommended or supported to use more than three sections in Page.head.sections.model.");
 
73
        }
 
74
    }
69
75
 
70
76
    /*!
71
77
      The index of the currently selected section in \l model.