From 1d5a24313cd20b97bf9a852e30bade904cb4b95c Mon Sep 17 00:00:00 2001 From: jpbruyere Date: Sun, 28 Feb 2016 12:32:26 +0100 Subject: [PATCH] debug combobox --- Templates/ComboBox.goml | 10 +++++----- Tests/Interfaces/testCombobox.goml | 2 +- src/GraphicObjects/ListBox.cs | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) 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 { -- 2.47.3