Skip to content

Commit

Permalink
Add missing close button decorator to tool windows (missing on Window…
Browse files Browse the repository at this point in the history
…s builds). Fixes AcademySoftwareFoundation#109.

Signed-off-by: John Kelly <[email protected]>
  • Loading branch information
aloyisus committed Sep 27, 2024
1 parent 971afcc commit f18a8ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/qml/xstudio/base/dialogs/XsWindow.qml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}

0 comments on commit f18a8ef

Please sign in to comment.