diff options
| author | Roy Ben Shabat <Roy.mail.net@gmail.com> | 2020-09-15 12:04:17 +0300 |
|---|---|---|
| committer | Roy Ben Shabat <Roy.mail.net@gmail.com> | 2020-09-15 12:04:17 +0300 |
| commit | e3fd35091a433538384b2c1461820694eb0ec6b2 (patch) | |
| tree | 4f5af444ec552ae6f16db556c3740f0060d5277e /Software/Visual_Studio/Tango.SharedUI | |
| parent | 68aa41252c29de9431902613a3c80a1b3c038e79 (diff) | |
| download | Tango-e3fd35091a433538384b2c1461820694eb0ec6b2.tar.gz Tango-e3fd35091a433538384b2c1461820694eb0ec6b2.zip | |
Fixed search combobox arrows click.
Diffstat (limited to 'Software/Visual_Studio/Tango.SharedUI')
| -rw-r--r-- | Software/Visual_Studio/Tango.SharedUI/Controls/SearchComboBox.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Software/Visual_Studio/Tango.SharedUI/Controls/SearchComboBox.cs b/Software/Visual_Studio/Tango.SharedUI/Controls/SearchComboBox.cs index 96e377b7c..d7439f702 100644 --- a/Software/Visual_Studio/Tango.SharedUI/Controls/SearchComboBox.cs +++ b/Software/Visual_Studio/Tango.SharedUI/Controls/SearchComboBox.cs @@ -103,7 +103,7 @@ namespace Tango.SharedUI.Controls private void _listBox_PreviewMouseLeftButtonUp(object sender, MouseButtonEventArgs e) { - if (!(e.OriginalSource is Thumb)) + if (_listBox.SelectedItem != null && (e.OriginalSource as FrameworkElement != null) && (e.OriginalSource as FrameworkElement).DataContext == _listBox.SelectedItem) { IsOpened = false; SelectedItem = _listBox.SelectedItem; |
