diff options
author | sr55 <[email protected]> | 2017-01-15 14:07:26 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2017-01-15 14:07:26 +0000 |
commit | 7545b0a6c242815fc31da306ff93d156bdee7ef4 (patch) | |
tree | 6de298f2063bbebb01c8c8429915471037e9aae9 /win/CS | |
parent | a9b099a4dda21b98fc9f2a5257298563ab52a55e (diff) |
WinGui: SplitButton was broken. #524
Diffstat (limited to 'win/CS')
-rw-r--r-- | win/CS/HandBrakeWPF/Controls/SplitButton/SplitMenuButton.cs | 2 |
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;
|