This commit is contained in:
Jean-Samuel Reynaud committed 2022-03-23 11:24:24 +01:00
1 parent 8787908e7e
commit 2437b3c1b9
3 files changed
+89 -94

No files matched your search

+2 -2
View File
@@ -29,9 +29,9 @@ def PopulateNets(anet, dlg):
nets = pcbnew.GetBoard().GetNetsByName()
for netname, net in nets.items():
netname = net.GetNetname()
if netname != None and netname != "":
if netname is not None and netname != "":
dlg.m_cbNet.Append(netname)
if anet != None:
if anet is not None:
index = dlg.m_cbNet.FindString(anet)
dlg.m_cbNet.Select(index)
#