on xenial help sign in
enable the close button
2727ae7Michael Zanetti
qml/Stage/DecoratedWindow.qml+1−1
@@ -210,7 +210,7 @@ FocusScope {
210
210
211 WindowDecoration {
211 WindowDecoration {
212 id: decoration
212 id: decoration
213− closeButtonVisible: root.application.appId !== "unity8-dash"
213+ closeButtonVisible: true
214 objectName: "appWindowDecoration"
214 objectName: "appWindowDecoration"
215
215
216 anchors { left: parent.left; top: parent.top; right: parent.right }
216 anchors { left: parent.left; top: parent.top; right: parent.right }
qml/Stage/Stage.qml+2−2
@@ -171,7 +171,7 @@ FocusScope {
171 id: closeFocusedShortcut
171 id: closeFocusedShortcut
172 shortcut: Qt.AltModifier|Qt.Key_F4
172 shortcut: Qt.AltModifier|Qt.Key_F4
173 onTriggered: {
173 onTriggered: {
174− if (priv.focusedAppDelegate && !priv.focusedAppDelegate.isDash) {
174+ if (priv.focusedAppDelegate) {
175 priv.focusedAppDelegate.close();
175 priv.focusedAppDelegate.close();
176 }
176 }
177 }
177 }
@@ -431,7 +431,7 @@ FocusScope {
431 Binding {
431 Binding {
432 target: PanelState
432 target: PanelState
433 property: "closeButtonShown"
433 property: "closeButtonShown"
434− value: priv.focusedAppDelegate && priv.focusedAppDelegate.maximized && !priv.focusedAppDelegate.isDash
434+ value: priv.focusedAppDelegate && priv.focusedAppDelegate.maximized
435 }
435 }
436
436
437 Component.onDestruction: {
437 Component.onDestruction: {