From: Mohammed Sameer Date: Sun, 25 Aug 2013 19:37:53 +0000 (+0300) Subject: Dim share and delete icons when we have no item shown X-Git-Url: http://cgit.sxemacs.org/?p=harmattan%2Fcameraplus;a=commitdiff_plain;h=7cbdc918513a869922006947870849f5895c98f7 Dim share and delete icons when we have no item shown --- diff --git a/qml/PostCaptureView.qml b/qml/PostCaptureView.qml index 52eae74..ea7df23 100644 --- a/qml/PostCaptureView.qml +++ b/qml/PostCaptureView.qml @@ -124,6 +124,7 @@ Item { tools: CameraToolBarTools { CameraToolIcon { iconSource: cameraTheme.shareIconId + enabled: view.currentItem != null onClicked: { shareCurrentItem() restartTimer() @@ -132,6 +133,7 @@ Item { CameraToolIcon { iconSource: cameraTheme.deleteIconId + enabled: view.currentItem != null onClicked: { deleteCurrentItem() restartTimer()