Make screenshots visible when there's only one screenshot too

Summary:
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: https://phabricator.kde.org/D3223
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
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment