From ae0895fbfd34a6be38c2b7ccedd876f965aab476 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=C3=A9bastien=20Blin?=
 <sebastien.blin@savoirfairelinux.com>
Date: Thu, 2 Feb 2023 13:34:14 -0500
Subject: [PATCH] photoboothview: do not show edit button in read only

Change-Id: I9eb8843d50fdeb914eae622c15555b366d246094
---
 src/app/commoncomponents/PhotoboothView.qml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/app/commoncomponents/PhotoboothView.qml b/src/app/commoncomponents/PhotoboothView.qml
index fc706c5df..0bb65110c 100644
--- a/src/app/commoncomponents/PhotoboothView.qml
+++ b/src/app/commoncomponents/PhotoboothView.qml
@@ -165,6 +165,7 @@ Item {
             hoveredColor: "#e5eef5"
             pressedColor: "#e5eef5"
             enabled: avatar.visible && !root.readOnly
+            visible: enabled
 
             onClicked :{
 
-- 
GitLab