summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrakeWPF
diff options
context:
space:
mode:
authorsr55 <[email protected]>2013-06-21 19:49:26 +0000
committersr55 <[email protected]>2013-06-21 19:49:26 +0000
commit0a1769b2635de1a80b958b55ff4bac217a6dde65 (patch)
tree9000c569a7e2003188601008164377f6b5f445d5 /win/CS/HandBrakeWPF
parent35c1f7220cd198fcde18ead488845aa8b4357669 (diff)
WinGui: Fix the Source Drive MenuItems occasionally not working when pressed. Updated the Drag/Drop library that has a few bug fixes.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5596 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/CS/HandBrakeWPF')
-rw-r--r--win/CS/HandBrakeWPF/Commands/SourceMenuCommand.cs4
-rw-r--r--win/CS/HandBrakeWPF/Views/MainView.xaml3
2 files changed, 1 insertions, 6 deletions
diff --git a/win/CS/HandBrakeWPF/Commands/SourceMenuCommand.cs b/win/CS/HandBrakeWPF/Commands/SourceMenuCommand.cs
index 661ef7fe3..8edc537fc 100644
--- a/win/CS/HandBrakeWPF/Commands/SourceMenuCommand.cs
+++ b/win/CS/HandBrakeWPF/Commands/SourceMenuCommand.cs
@@ -52,8 +52,6 @@ namespace HandBrakeWPF.Commands
#region Implemented Interfaces
- #region ICommand
-
/// <summary>
/// The can execute.
/// </summary>
@@ -80,7 +78,5 @@ namespace HandBrakeWPF.Commands
}
#endregion
-
- #endregion
}
} \ No newline at end of file
diff --git a/win/CS/HandBrakeWPF/Views/MainView.xaml b/win/CS/HandBrakeWPF/Views/MainView.xaml
index d5f211174..67ac70c21 100644
--- a/win/CS/HandBrakeWPF/Views/MainView.xaml
+++ b/win/CS/HandBrakeWPF/Views/MainView.xaml
@@ -208,8 +208,7 @@
<MenuItem.ItemContainerStyle>
<Style TargetType="{x:Type MenuItem}">
<Setter Property="Header" Value="{Binding Text}" />
- <Setter Property="MenuItem.Command" Value="{Binding Command}"/>
- <Setter Property="MenuItem.CommandParameter" Value="123"/>
+ <Setter Property="Command" Value="{Binding Command}"/>
<Setter Property="ItemsSource" Value="{Binding Children}" />
<Setter Property="Icon" Value="{Binding Image}" />
<Setter Property="InputGestureText" Value="{Binding InputGestureText}" />