From f18a8efb868bc07cea4c7a8ad55d3a6f756cf7f5 Mon Sep 17 00:00:00 2001 From: John Kelly Date: Fri, 27 Sep 2024 22:50:01 +0100 Subject: [PATCH] Add missing close button decorator to tool windows (missing on Windows builds). Fixes #109. Signed-off-by: John Kelly --- ui/qml/xstudio/base/dialogs/XsWindow.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/qml/xstudio/base/dialogs/XsWindow.qml b/ui/qml/xstudio/base/dialogs/XsWindow.qml index d517fb83e..9d1901abf 100644 --- a/ui/qml/xstudio/base/dialogs/XsWindow.qml +++ b/ui/qml/xstudio/base/dialogs/XsWindow.qml @@ -66,6 +66,6 @@ ApplicationWindow { } } - flags: (asDialog ? Qt.Dialog : asWindow ? Qt.WindowSystemMenuHint : Qt.SubWindow) |(frameLess ? Qt.FramelessWindowHint : 0) | (onTop ? Qt.WindowStaysOnTopHint : 0) + flags: (asDialog ? Qt.Dialog : asWindow ? Qt.WindowSystemMenuHint : Qt.Tool | Qt.WindowCloseButtonHint | Qt.WindowTitleHint | Qt.WindowSystemMenuHint) | (frameLess ? Qt.FramelessWindowHint : 0) | (onTop ? Qt.WindowStaysOnTopHint : 0) color: "#222" }