Skip to content

Commit

Permalink
Fix missing StringTemplate in action settings
Browse files Browse the repository at this point in the history
  • Loading branch information
Yoooi0 committed Oct 13, 2021
1 parent 00754f3 commit 5c94044
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions MultiFunPlayer/Views/ShortcutView.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -590,6 +590,10 @@
ItemsSource="{Binding Converter={StaticResource ShortcutSettingEnumToEnumValuesConverter}}"
material:TextFieldAssist.HasClearButton="True" />
</DataTemplate>
<DataTemplate x:Key="StringTemplate" DataType="{x:Type input:IShortcutSetting}">
<TextBox Text="{Binding Value}"
material:TextFieldAssist.HasClearButton="True" />
</DataTemplate>
</ItemsControl.Resources>
<ItemsControl.ItemTemplate>
<DataTemplate DataType="{x:Type input:IShortcutSetting}">
Expand Down

0 comments on commit 5c94044

Please sign in to comment.