Merge lp://qastaging/~tpeeters/ubuntu-ui-toolkit/pageHead-sectionsIndex into lp://qastaging/ubuntu-ui-toolkit/staging
Proposed by
Tim Peeters
Status: | Merged |
---|---|
Approved by: | Cris Dywan |
Approved revision: | 1753 |
Merged at revision: | 1751 |
Proposed branch: | lp://qastaging/~tpeeters/ubuntu-ui-toolkit/pageHead-sectionsIndex |
Merge into: | lp://qastaging/ubuntu-ui-toolkit/staging |
Diff against target: |
287 lines (+163/-10) 7 files modified
src/Ubuntu/Components/1.3/Sections.qml (+38/-5) src/Ubuntu/Components/Themes/Ambiance/1.3/PageHeadStyle.qml (+1/-1) src/Ubuntu/Components/Themes/Ambiance/1.3/SectionsForPageHead.qml (+46/-0) src/Ubuntu/Components/Themes/Ambiance/Ambiance.pro (+1/-0) src/Ubuntu/Components/Themes/Ambiance/qmldir (+1/-0) tests/unit_x11/tst_components/tst_pagehead_sections.qml (+8/-2) tests/unit_x11/tst_components/tst_sections.qml (+68/-2) |
To merge this branch: | bzr merge lp://qastaging/~tpeeters/ubuntu-ui-toolkit/pageHead-sectionsIndex |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Cris Dywan | Approve | ||
PS Jenkins bot | continuous-integration | Approve | |
Review via email:
|
Commit message
To prevent an invalid sectionIndex, reset the value of sectionIndex to -1 when the model of Sections is changed.
To post a comment you must log in.
Here https:/ /bugs.launchpad .net/ubuntu/ +source/ ubuntu- ui-toolkit/ +bug/1511839 it is requested NOT to change the sectionIndex when it was -1. This MR would break that, so we need a more complex solution.