on xenial help sign in
Fix title in temporary scope pages.
commit871cf19f54f3e988d902bf9dd46d2564972ed891 authorMichał Sawicz <michal.sawicz@canonical.com> dateTue 8 Jul 2014, 21:35 (12 years ago) parentfb113cf
2 files changed+1−3
qml/Dash/DashContent.qml−1 qml/Dash/GenericScopeView.qml+1−2
qml/Dash/DashContent.qml−1
@@ -140,7 +140,6 @@ Item {
140140 item.objectName = scope.id
141141 item.scope = Qt.binding(function() { return scope })
142142 item.isCurrent = Qt.binding(function() { return visible && ListView.isCurrentItem })
143− item.title = Qt.binding(function() { return dashContentList.model.get(index).title; })
144143 dashContent.scopeLoaded(item.scope.id)
145144 }
146145 Connections {
qml/Dash/GenericScopeView.qml+1−2
@@ -29,7 +29,6 @@ FocusScope {
2929 property SortFilterProxyModel categories: categoryFilter
3030 property bool isCurrent: false
3131 property alias moving: categoryView.moving
32− property string title
3332 property bool hasBackAction: false
3433 property bool enableHeightBehaviorOnNextCreation: false
3534 property var categoryView: categoryView
@@ -320,7 +319,7 @@ FocusScope {
320319 pageHeader: PageHeader {
321320 id: pageHeader
322321 width: parent.width
323− title: scopeView.title
322+ title: scopeView.scope ? scopeView.scope.name : ""
324323 showBackButton: scopeView.hasBackAction
325324 searchEntryEnabled: true
326325 searchInProgress: scopeView.scope ? scopeView.scope.searchInProgress : false