diff options
| author | jpbruyere <jp.bruyere@hotmail.com> | 2016-05-25 15:46:58 +0200 |
|---|---|---|
| committer | jpbruyere <jp.bruyere@hotmail.com> | 2016-05-25 15:46:58 +0200 |
| commit | c02ea44eb9010aee1f03fba4342730f338598356 (patch) | |
| tree | 30b9c7c4653dad5818bf65a1774183c326313481 /src/GraphicObjects | |
| parent | 63cb46716cd042c2884687be2d47f7a5ce35e9c6 (diff) | |
debug bindings when new value is null
Diffstat (limited to 'src/GraphicObjects')
| -rw-r--r-- | src/GraphicObjects/ListBox.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/GraphicObjects/ListBox.cs b/src/GraphicObjects/ListBox.cs index 8daf9550..34834b8d 100644 --- a/src/GraphicObjects/ListBox.cs +++ b/src/GraphicObjects/ListBox.cs @@ -93,7 +93,7 @@ namespace Crow } } public object SelectedItem{ - get { return data == null ? "" : _selectedIndex < 0 ? "" : data[_selectedIndex]; } + get { return data == null ? null : _selectedIndex < 0 ? null : data[_selectedIndex]; } } [XmlAttributeAttribute]//[DefaultValue(null)] public IList Data { |