From d2a87f3e3f587adca89117c6b5fe4e3d692bd119 Mon Sep 17 00:00:00 2001 From: Raphael Date: Sun, 10 Dec 2023 16:39:20 +0100 Subject: [PATCH] do not show fc shutdown button --- qml/ui/configpopup/status/FooterRebootShutdownWarning.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qml/ui/configpopup/status/FooterRebootShutdownWarning.qml b/qml/ui/configpopup/status/FooterRebootShutdownWarning.qml index 8a6d582b8..4814bc029 100644 --- a/qml/ui/configpopup/status/FooterRebootShutdownWarning.qml +++ b/qml/ui/configpopup/status/FooterRebootShutdownWarning.qml @@ -60,7 +60,7 @@ Item { } } Button{ - visible: get_show_power_actions() && m_supports_reboot_actions + visible: get_show_power_actions() && m_supports_reboot_actions && !m_supports_reboot_actions==2 Layout.alignment: Qt.AlignRight Layout.rightMargin: 10 text: qsTr("SHUTDOWN")