on xenial help sign in
suppress warning
commit92d8c3127694d872fadab11bcbeb9a73693869dc authorMichael Zanetti <michael.zanetti@canonical.com> dateFri 23 Sep 2016, 10:49 (10 years ago) parent7bd18b6
1 file changed+1−1
qml/Stage/Stage.qml+1−1
qml/Stage/Stage.qml+1−1
@@ -64,7 +64,7 @@ FocusScope {
6464 // application windows never rotate independently
6565 property int mainAppWindowOrientationAngle: shellOrientationAngle
6666
67− property bool orientationChangesEnabled: priv.focusedAppDelegate.orientationChangesEnabled
67+ property bool orientationChangesEnabled: priv.focusedAppDelegate && priv.focusedAppDelegate.orientationChangesEnabled
6868
6969 property int supportedOrientations: {
7070 if (mainApp) {