summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrakeWPF/Controls
diff options
context:
space:
mode:
Diffstat (limited to 'win/CS/HandBrakeWPF/Controls')
-rw-r--r--win/CS/HandBrakeWPF/Controls/SplitButton/SplitMenuButton.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/win/CS/HandBrakeWPF/Controls/SplitButton/SplitMenuButton.cs b/win/CS/HandBrakeWPF/Controls/SplitButton/SplitMenuButton.cs
index ce7a57bb9..5003068d1 100644
--- a/win/CS/HandBrakeWPF/Controls/SplitButton/SplitMenuButton.cs
+++ b/win/CS/HandBrakeWPF/Controls/SplitButton/SplitMenuButton.cs
@@ -194,7 +194,7 @@ namespace HandBrakeWPF.Controls.SplitButton
/// </summary>
protected void OpenButtonMenu()
{
- if ((this.ItemSource.Count < 0) && (this.contextMenu != null))
+ if ((this.ItemSource.Count > 0) && (this.contextMenu != null))
{
this.contextMenu.HorizontalOffset = 0;
this.contextMenu.VerticalOffset = 0;