Last active
September 19, 2021 17:58
-
-
Save b100dian/4949dc4da536863cfa73a1ca3583f004 to your computer and use it in GitHub Desktop.
Hides the cameras that didn't receive a label in jolla-camera-hw.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- a/usr/lib64/qt5/qml/com/jolla/camera/settings/CameraDeviceToggle.qml | |
+++ b/usr/lib64/qt5/qml/com/jolla/camera/settings/CameraDeviceToggle.qml | |
@@ -26,6 +26,7 @@ | |
highlighted: mouseArea.pressed && mouseArea.containsMouse || modelData.deviceId === Settings.deviceId | |
width: Theme.itemSizeExtraSmall | |
height: Theme.itemSizeExtraSmall | |
+ visible: root.labels.length > model.index | |
MouseArea { | |
id: mouseArea | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment