From a87e85aff41411cbcea57420cf4c99fc765dd7b3 Mon Sep 17 00:00:00 2001 From: sr55 Date: Sun, 15 Jan 2017 14:07:26 +0000 Subject: [PATCH] WinGui: SplitButton was broken. #524 --- win/CS/HandBrakeWPF/Controls/SplitButton/SplitMenuButton.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 /// 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; -- 2.40.0