Skip to content

Commit 65d304e

Browse files
authored
Merge pull request #70 from Pepper-Man/main
Hide extract tags tab for Reach+. Show FMOD Repair tab for Reach
2 parents 908d805 + ec045fa commit 65d304e

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Launcher/MainWindow.xaml

Lines changed: 5 additions & 5 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"/>
@@ -1112,7 +1112,7 @@
11121112
</Grid>
11131113
</Grid>
11141114
</TabItem>
1115-
<TabItem Header="Extract Tags" IsEnabled="{Binding SelectedIndex, Converter={StaticResource ProfiletoIsEnabled}, ConverterParameter=h2|mcc + h3 + hr + h4, ElementName=toolkit_selection}" Visibility="{Binding SelectedIndex, Converter={StaticResource ProfiletoVisibility}, ConverterParameter=h2|mcc + h3 + hr + h4, ElementName=toolkit_selection}">
1115+
<TabItem Header="Extract Tags" IsEnabled="{Binding SelectedIndex, Converter={StaticResource ProfiletoIsEnabled}, ConverterParameter=h2|mcc + h3, ElementName=toolkit_selection}" Visibility="{Binding SelectedIndex, Converter={StaticResource ProfiletoVisibility}, ConverterParameter=h2|mcc + h3, ElementName=toolkit_selection}">
11161116
<Grid Background="{DynamicResource WindowSecondaryColor}">
11171117
<Grid.RowDefinitions>
11181118
<RowDefinition Height="5"/>
@@ -1198,8 +1198,8 @@
11981198
</Grid>
11991199
</Grid>
12001200
</TabItem>
1201-
<TabItem Header="FMOD Repair" IsEnabled="{Binding SelectedIndex, Converter={StaticResource ProfiletoIsEnabled}, ConverterParameter=h3, ElementName=toolkit_selection}" Visibility="{Binding SelectedIndex, Converter={StaticResource ProfiletoVisibility}, ConverterParameter=h3, ElementName=toolkit_selection}">
1202-
<Grid Background="{DynamicResource WindowSecondaryColor}" IsEnabled="{Binding SelectedIndex, Converter={StaticResource ProfiletoIsEnabled}, ConverterParameter=h3, ElementName=toolkit_selection}">
1201+
<TabItem Header="FMOD Repair" IsEnabled="{Binding SelectedIndex, Converter={StaticResource ProfiletoIsEnabled}, ConverterParameter=h3 + hr, ElementName=toolkit_selection}" Visibility="{Binding SelectedIndex, Converter={StaticResource ProfiletoVisibility}, ConverterParameter=h3 + hr, ElementName=toolkit_selection}">
1202+
<Grid Background="{DynamicResource WindowSecondaryColor}" IsEnabled="{Binding SelectedIndex, Converter={StaticResource ProfiletoIsEnabled}, ConverterParameter=h3 + hr, ElementName=toolkit_selection}">
12031203
<Grid.RowDefinitions>
12041204
<RowDefinition Height="5"/>
12051205
<RowDefinition Height="*"/>

0 commit comments

Comments
 (0)