Skip to content

Commit 1e24f02

Browse files
committed
revert: try fixing collection edt...
1 parent f535ed9 commit 1e24f02

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

Src/Xceed.Wpf.Toolkit/CollectionControl/Implementation/CollectionControlDialog.xaml.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -210,8 +210,6 @@ private object Clone( object source )
210210
{
211211
result = this.GenerateEditableKeyValuePair( source );
212212
}
213-
else if (sourceType == typeof(string))
214-
{ result = source; }
215213
else
216214
{
217215
// Initialized a new object with default values
@@ -234,7 +232,7 @@ private object Clone( object source )
234232
}
235233
}
236234
Debug.Assert( result != null );
237-
if( result != null && !(result is string))
235+
if( result != null )
238236
{
239237
var properties = sourceType.GetProperties();
240238

0 commit comments

Comments
 (0)