From 139e694d815a4d6493c8eb8689912cb1f4fdadf8 Mon Sep 17 00:00:00 2001 From: Anton Thomasson Date: Tue, 11 Jul 2023 21:12:47 +0200 Subject: [PATCH] Fix identify printer menu --- qml/pages/DetailsPage.qml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/qml/pages/DetailsPage.qml b/qml/pages/DetailsPage.qml index b9a8c64..a868aee 100644 --- a/qml/pages/DetailsPage.qml +++ b/qml/pages/DetailsPage.qml @@ -13,12 +13,11 @@ Page { contentHeight: col.height PullDownMenu { - visible: identifyLabel.visible + visible: printer.attrs.hasOwnProperty("identify-actions-supported") MenuItem { id: identifyLabel text: qsTr("Identify printer") - visible: printer.attrs.hasOwnProperty("identify-actions-supported") onClicked: printer.identify() } }