on xenial help sign in
harmonize
commitaddd978a64af9a10e5dfa7282e9915f2c8d1dfce authorAlbert Astals <albert.astals@canonical.com> dateWed 2 Oct 2013, 13:01 (13 years ago) parent54a5c41
2 files changed+4−4
Dash/Apps/RunningApplicationsGrid.qml+1−1 Dash/GenericScopeView.qml+3−3
Dash/Apps/RunningApplicationsGrid.qml+1−1
@@ -23,7 +23,7 @@ ResponsiveFlowView {
2323
2424 signal updateScreenshots
2525 property alias enableHeightBehavior: heightBehaviour.enabled
26− property bool enableHeightBehaviourOnNextCreation: firstModel.count + secondModel.count == 0
26+ property bool enableHeightBehaviorOnNextCreation: firstModel.count + secondModel.count == 0
2727
2828 Connections {
2929 target: shell
Dash/GenericScopeView.qml+3−3
@@ -86,7 +86,7 @@ ScopeView {
8686 source: getRenderer(model.renderer, model.contentType)
8787
8888 onLoaded: {
89− if (item.enableHeightBehavior !== undefined && item.enableHeightBehaviourOnNextCreation !== undefined) {
89+ if (item.enableHeightBehavior !== undefined && item.enableHeightBehaviorOnNextCreation !== undefined) {
9090 item.enableHeightBehavior = scopeView.enableHeightBehaviorOnNextCreation;
9191 scopeView.enableHeightBehaviorOnNextCreation = false;
9292 }
@@ -107,8 +107,8 @@ ScopeView {
107107 }
108108
109109 Component.onDestruction: {
110− if (item.enableHeightBehavior !== undefined && item.enableHeightBehaviourOnNextCreation !== undefined) {
111− scopeView.enableHeightBehaviorOnNextCreation = item.enableHeightBehaviourOnNextCreation;
110+ if (item.enableHeightBehavior !== undefined && item.enableHeightBehaviorOnNextCreation !== undefined) {
111+ scopeView.enableHeightBehaviorOnNextCreation = item.enableHeightBehaviorOnNextCreation;
112112 }
113113 }
114114