on xenial help sign in
Show and implement close buttons for child windows (LP: #1668053)

Approved by: Daniel d'Andrada, Unity8 CI Bot

commite0227febadbf76656876aa85f72d2581f081825c authorLukáš Tinkl <lukas.tinkl@canonical.com> dateTue 4 Apr 2017, 22:53 (10 years ago) parent9fbcc992c1dcaa
1 file changed−4
qml/Stage/ChildWindow.qml−4
qml/Stage/ChildWindow.qml−4
@@ -104,10 +104,6 @@ FocusScope {
104104 height: root.decorationHeight
105105 title: root.surface ? root.surface.name : ""
106106 active: root.surface ? root.surface.focused : false
107− closeButtonVisible: root.surface ? root.surface.type === Mir.SatelliteType
108− || root.surface.type === Mir.NormalType
109− || root.surface.type === Mir.UtilityType
110− : false
111107 minimizeButtonVisible: false
112108 maximizeButtonShown: false
113109 onPressed: root.surface.activate();