Skip to content

Commit 81604c0

Browse files
authored
Update GenericClasses.cs (#3146)
1 parent 0f44e08 commit 81604c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Libraries/RevitNodesUI/GenericClasses.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ protected override CoreNodeModels.DSDropDownBase.SelectionState PopulateItemsCor
166166
/// </summary>
167167
public void PopulateDropDownItems()
168168
{
169-
if (this.EnumerationType != null)
169+
if (this.EnumerationType != null && this.EnumerationType.IsEnum)
170170
{
171171
// Clear the dropdown list
172172
Items.Clear();

0 commit comments

Comments
 (0)