Skip to content

Commit ec045fa

Browse files
committed
Disable visibility of Import Model and Import Sound tabs for H4/2AMP
1 parent a1b8ac7 commit ec045fa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Launcher/MainWindow.xaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -556,7 +556,7 @@
556556
</Grid>
557557
</Grid>
558558
</TabItem>
559-
<TabItem Header="Import Model" IsEnabled="{Binding SelectedIndex, Converter={StaticResource ProfiletoIsEnabled}, ConverterParameter=h1 + h2|h2codez + h2|mcc + h3 + hr, ElementName=toolkit_selection}">
559+
<TabItem Header="Import Model" Visibility="{Binding SelectedIndex, Converter={StaticResource ProfiletoVisibility}, ConverterParameter=h1 + h2|h2codez + h2|mcc + h3 + hr, ElementName=toolkit_selection}">
560560
<Grid Background="{DynamicResource WindowSecondaryColor}">
561561
<Grid IsEnabled="{Binding SelectedIndex, Converter={StaticResource ProfiletoIsEnabled}, ConverterParameter=h1 + h2|h2codez + h2|mcc + h3 + hr, ElementName=toolkit_selection}">
562562
<Grid.RowDefinitions>
@@ -746,7 +746,7 @@
746746
</Grid>
747747
</Grid>
748748
</TabItem>
749-
<TabItem Header="Import Sound" IsEnabled="{Binding SelectedIndex, Converter={StaticResource ProfiletoIsEnabled}, ConverterParameter=h1 + h2|h2codez + h2|mcc + h3 + hr, ElementName=toolkit_selection}">
749+
<TabItem Header="Import Sound" Visibility="{Binding SelectedIndex, Converter={StaticResource ProfiletoVisibility}, ConverterParameter=h1 + h2|h2codez + h2|mcc + h3 + hr, ElementName=toolkit_selection}">
750750
<Grid Background="{DynamicResource WindowSecondaryColor}" IsEnabled="{Binding SelectedIndex, Converter={StaticResource ProfiletoIsEnabled}, ConverterParameter=h1 + h2|h2codez + h2|mcc + h3 + hr, ElementName=toolkit_selection}">
751751
<Grid.RowDefinitions>
752752
<RowDefinition Height="5"/>

0 commit comments

Comments
 (0)