Skip to content

Commit

Permalink
Merge pull request #34 from rahulpnath/triggerBuildOnEnterKeyPress
Browse files Browse the repository at this point in the history
Trigger BuildCommand when pressing enter in Build Arguments
  • Loading branch information
KirillOsenkov authored Jul 21, 2016
2 parents fc2c8de + 103081b commit 3897e32
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions src/StructuredLogViewer/themes/Generic.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -493,8 +493,14 @@
<TextBlock Text="{Binding PrefixArguments}" />
<TextBox x:Name="argumentsText"
Margin="4,0,4,0"
Text="{Binding MSBuildArguments}"
MinWidth="300" />
Text="{Binding MSBuildArguments, UpdateSourceTrigger=PropertyChanged}"
MinWidth="300">
<TextBox.InputBindings>
<KeyBinding Key="Enter"
Command="{Binding BuildCommand}" />
</TextBox.InputBindings>
</TextBox>

<TextBlock Text="{Binding PostfixArguments}" />
</WrapPanel>
</StackPanel>
Expand Down

0 comments on commit 3897e32

Please sign in to comment.