Skip to content

Commit

Permalink
Merge pull request #9 from Kalejin/change_doubleclick_to_play_sound
Browse files Browse the repository at this point in the history
Double click to play sound
  • Loading branch information
Kalejin authored Feb 6, 2018
2 parents 145e9dc + 7675937 commit 2441573
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion DCSB.Views/MainWindow/CounterListView.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@

<DataGrid ItemsSource="{Binding ConfigurationModel.SelectedPreset.CounterCollection}"
SelectedItem="{Binding ConfigurationModel.SelectedPreset.SelectedCounter, Mode=TwoWay}"
Interactivity:Commands.DoubleClickCommand="{Binding OpenCounterCommand}"
AutoGenerateColumns="False"
CanUserReorderColumns="False"
SelectionMode="Single"
Expand Down
4 changes: 2 additions & 2 deletions DCSB.Views/MainWindow/SoundListView.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@
<Controls:IconButton DockPanel.Dock="Right"
Content="{StaticResource PlayIcon}"
Margin="2"
Command="{Binding PlayCommand}"
Command="{Binding ContinueCommand}"
ToolTip="Play" />
<Controls:IconButton DockPanel.Dock="Right"
Content="{StaticResource PauseIcon}"
Expand All @@ -99,7 +99,7 @@

<DataGrid ItemsSource="{Binding ConfigurationModel.SelectedPreset.SoundCollection}"
SelectedItem="{Binding ConfigurationModel.SelectedPreset.SelectedSound, Mode=TwoWay}"
Interactivity:Commands.DoubleClickCommand="{Binding OpenSoundCommand}"
Interactivity:Commands.DoubleClickCommand="{Binding PlayCommand}"
AutoGenerateColumns="False"
CanUserReorderColumns="False"
SelectionMode="Single"
Expand Down

0 comments on commit 2441573

Please sign in to comment.