Revert back to using constant as context for shapes

This commit is contained in:
Veronica Berglyd Olsen
2025-02-16 19:50:02 +01:00
parent 3ff4cc462f
commit e9a73ee785
2 changed files with 22 additions and 22 deletions
+1 -1
View File
@@ -409,7 +409,7 @@ class _StatusPage(NFixedPage):
def buildMenu(menu: QMenu, items: dict[nwStatusShape, str]) -> None:
for shape, label in items.items():
icon = NWStatus.createIcon(self._iPx, iColor, shape)
action = menu.addAction(icon, trConst(label, "Shape"))
action = menu.addAction(icon, trConst(label))
action.triggered.connect(qtLambda(self._selectShape, shape))
self._icons[shape] = icon