diff options
| author | jpbruyere <jp.bruyere@hotmail.com> | 2016-02-25 17:53:21 +0100 |
|---|---|---|
| committer | jpbruyere <jp.bruyere@hotmail.com> | 2016-02-25 17:53:21 +0100 |
| commit | f011ac73727aeda00cfa57997581408e9133b08c (patch) | |
| tree | e6d7ba8f2d04ed267a8e6532893d62a6feaabdd0 /src | |
| parent | 76edc3ce44583ee8160ea207dfeb17c4d6508e59 (diff) | |
debug selectedItem in listbox
Diffstat (limited to 'src')
| -rw-r--r-- | src/GraphicObjects/ListBox.cs | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/GraphicObjects/ListBox.cs b/src/GraphicObjects/ListBox.cs index 2b27a05e..41f5a42b 100644 --- a/src/GraphicObjects/ListBox.cs +++ b/src/GraphicObjects/ListBox.cs @@ -208,10 +208,7 @@ namespace Crow } void itemClick(object sender, OpenTK.Input.MouseButtonEventArgs e){ - SelectedItemChanged.Raise (sender, new SelectionChangeEventArgs((sender as GraphicObject).DataSource)); - NotifyValueChanged ("SelectedItem", (sender as GraphicObject).DataSource); - //Debug.WriteLine ((sender as GraphicObject).DataSource); - + SelectedIndex = data.IndexOf((sender as GraphicObject).DataSource); } #region IXmlSerializable |