Skip to content

Commit

Permalink
dnet: display manual connections
Browse files Browse the repository at this point in the history
  • Loading branch information
lunar-mining committed Oct 23, 2023
1 parent c847274 commit 7fd75cc
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions bin/dnet/view.py
Original file line number Diff line number Diff line change
Expand Up @@ -204,13 +204,17 @@ async def update_view(self):
if len(manual) != 0:
widget = ConnectView(node, "manual")
self.listwalker.contents.append(widget)
for i, info in manual.items():
widget = SlotView(node, "manual", i, info)
self.listwalker.contents.append(widget)

# Update outbound slot info
for index, item in enumerate(self.listwalker.contents):
if item.get_type() == "outbound":
name = item.get_name()
if name in self.model.info.event.keys():
value = self.model.info.event.get(name)
logging.debug(value)
widget = SlotView(node, "outbound", name[1], value)
self.listwalker.contents[index] = widget

Expand Down

0 comments on commit 7fd75cc

Please sign in to comment.