Fix steam tooltips showing when not required

This commit is contained in:
Patrick Nicolas
2025-10-26 13:46:03 +01:00
parent b687f83950
commit c2c70e0469
+3 -1
View File
@@ -334,11 +334,13 @@ Kirigami.ApplicationWindow {
wrapMode: Text.WordWrap
text: i18n("Steam information")
opacity: steam_info.opacity
visible: steam_info.visible
Layout.maximumHeight: root.server_started ? -1 : 0
}
SteamLaunchOptions {
id: steam_info
opacity: root.server_started && WivrnServer.steamCommand != ""
visible: WivrnServer.steamCommand != ""
opacity: root.server_started
Layout.maximumHeight: root.server_started ? -1 : 0
}