Only show buttons when actions are available
commit7f8d291be45def32229ef73ec8c8cafcdd7a9f22
authorNick Dedekind <nicholas.dedekind@gmail.com>
dateWed 9 Oct 2013, 19:16 (13 years ago)
parentd763a69
Notifications/Notification.qml+1−1
@@ -193,7 +193,7 @@ UbuntuShape {
193193 left: parent.left
194194 right: parent.right
195195 }
196− visible: notification.type == Notification.SnapDecision
196+ visible: notification.type == Notification.SnapDecision && actionRepeater.count > 0
197197 height: units.gu(5)
198198
199199 property real buttonWidth: (width - contentColumn.spacing) / 2