From 60a9fec249cae2f4a7fcc8aa55fc1215eeb218c4 Mon Sep 17 00:00:00 2001 From: Mohammed Sameer Date: Fri, 4 Jan 2013 17:18:06 +0200 Subject: [PATCH] Always show the toolbar if there is an error loading the preview --- qml/PostCapturePage.qml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/qml/PostCapturePage.qml b/qml/PostCapturePage.qml index 0d06ec1..84d0b74 100644 --- a/qml/PostCapturePage.qml +++ b/qml/PostCapturePage.qml @@ -26,7 +26,6 @@ import QtCamera 1.0 import CameraPlus 1.0 // TODO: losing resources while playback won't show an error -// TODO: mass storage mode interaction CameraPage { id: page @@ -207,7 +206,7 @@ CameraPage { anchors.leftMargin: 20 opacity: 0.8 - property bool show: deleteDialog.status == DialogStatus.Open || deleteDialog.status == DialogStatus.Opening || hideTimer.running || menu.status == DialogStatus.Open || menu.status == DialogStatus.Opening + property bool show: deleteDialog.status == DialogStatus.Open || deleteDialog.status == DialogStatus.Opening || hideTimer.running || menu.status == DialogStatus.Open || menu.status == DialogStatus.Opening || (currentItem && currentItem.error) onClicked: pageStack.pop(); -- 2.34.1