Skip to content

Commit 5e4db31

Browse files
committed
add Visibility binding for Mlsetup item
1 parent 528b650 commit 5e4db31

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

WolvenKit/Views/Tools/ProjectExplorerView.xaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,11 @@
8787

8888
<MenuItem
8989
Command="{Binding OpenInMlsbCommand}"
90-
Header="Open in MlSetupBuilder">
90+
Header="Open in MlSetupBuilder"
91+
Visibility="{Binding Path=IsEnabled,
92+
RelativeSource={RelativeSource Self},
93+
Mode=OneWay,
94+
Converter={StaticResource BooleanToVisibilityConverter}}">
9195
<MenuItem.Icon>
9296
<templates:IconBox
9397
IconPack="Empty"

0 commit comments

Comments
 (0)