Skip to content

Commit 1d1c3fb

Browse files
committedOct 5, 2024
Small fix for not connected and converting
1 parent 28e6d66 commit 1d1c3fb

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed
 

‎FetchXmlBuilder/DockControls/TreeBuilderControl.cs

+4
Original file line numberDiff line numberDiff line change
@@ -262,6 +262,10 @@ internal string GetFetchString(bool format, bool validate)
262262
internal FetchType GetFetchType()
263263
{
264264
var fetchstr = GetFetchString(false, false);
265+
if (string.IsNullOrEmpty(fetchstr))
266+
{
267+
return null;
268+
}
265269
var serializer = new XmlSerializer(typeof(FetchType));
266270
object result;
267271
using (TextReader reader = new StringReader(fetchstr))

0 commit comments

Comments
 (0)
Please sign in to comment.