aboutsummaryrefslogtreecommitdiffstatsci
path: root/src/GraphicObjects/ListBox.cs
diff options
context:
space:
mode:
authorjpbruyere <jp.bruyere@hotmail.com>2016-05-25 15:46:58 +0200
committerjpbruyere <jp.bruyere@hotmail.com>2016-05-25 15:46:58 +0200
commitc02ea44eb9010aee1f03fba4342730f338598356 (patch)
tree30b9c7c4653dad5818bf65a1774183c326313481 /src/GraphicObjects/ListBox.cs
parent63cb46716cd042c2884687be2d47f7a5ce35e9c6 (diff)
debug bindings when new value is null
Diffstat (limited to 'src/GraphicObjects/ListBox.cs')
-rw-r--r--src/GraphicObjects/ListBox.cs2
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 {