From: jpbruyere Date: Sun, 28 Feb 2016 11:32:26 +0000 (+0100) Subject: debug combobox X-Git-Tag: v0.4~107 X-Git-Url: https://git.osiis.dedyn.io/?a=commitdiff_plain;h=1d5a24313cd20b97bf9a852e30bade904cb4b95c;p=jp%2Fcrow.git debug combobox --- diff --git a/Templates/ComboBox.goml b/Templates/ComboBox.goml index 7a735307..e512ef2c 100755 --- a/Templates/ComboBox.goml +++ b/Templates/ComboBox.goml @@ -1,19 +1,19 @@  - + diff --git a/Tests/Interfaces/testCombobox.goml b/Tests/Interfaces/testCombobox.goml index d12a333d..8e0b16ad 100755 --- a/Tests/Interfaces/testCombobox.goml +++ b/Tests/Interfaces/testCombobox.goml @@ -1,5 +1,5 @@  - \ No newline at end of file diff --git a/src/GraphicObjects/ListBox.cs b/src/GraphicObjects/ListBox.cs index 0d80479a..0a9c0c77 100644 --- a/src/GraphicObjects/ListBox.cs +++ b/src/GraphicObjects/ListBox.cs @@ -93,7 +93,7 @@ namespace Crow } } public object SelectedItem{ - get { return data == null ? null : _selectedIndex < 0 ? null : data[_selectedIndex]; } + get { return data == null ? "" : _selectedIndex < 0 ? "" : data[_selectedIndex]; } } [XmlAttributeAttribute]//[DefaultValue(null)] public IList Data {