Skip to content

Commit 6511c03

Browse files
pettaa123Tuppatsch
andauthored
corrected logic to filter communication profile area objects (#170)
Co-authored-by: Tuppatsch <[email protected]>
1 parent ab0ac30 commit 6511c03

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

EDSEditorGUI/DeviceODView.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ public void PopulateObjectLists(EDSsharp eds_target)
225225
if (od.prop.CO_disabled == true)
226226
lvi.ForeColor = Color.LightGray;
227227

228-
if (index <= 0x1000 || index < 0x2000)
228+
if (index >= 0x1000 && index < 0x2000)
229229
listView_communication_objects.Items.Add(lvi);
230230
else if (index >= 0x2000 && index < 0x6000)
231231
listView_manufacturer_objects.Items.Add(lvi);

0 commit comments

Comments
 (0)