Skip to content

Commit e936ae5

Browse files
committed
Hide the Window menu when running in Slintpad
1 parent 470f76b commit e936ae5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/lsp/ui/main.slint

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ export component PreviewUi inherits Window {
9898
}
9999
}
100100

101-
Menu {
101+
if !Api.runs-in-slintpad: Menu {
102102
title: @tr("Window");
103103
MenuItem {
104104
title: Api.always-on-top ? @tr("Remove from Top") : @tr("Keep on Top");

0 commit comments

Comments
 (0)