Make screenshots visible when there's only one screenshot too

Applications with only one screenshot also deserve to have it visible.

BUG: 371724
FIXED-IN: 5.8.4

Test Plan:
Open any application that only has one screenshot (e.g. poedit).
No screenshot is shown until this patch is applied.

Reviewers: davidedmundson, apol

Reviewed By: davidedmundson, apol

Differential Revision:
parent d7fa05fc
......@@ -32,7 +32,7 @@ Flow {
readonly property real side: Kirigami.Units.gridUnit * 8
property QtObject page
visible: screenshotsModel.count>1
visible: screenshotsModel.count>0
readonly property var fu: Kirigami.OverlaySheet {
id: overlay
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment