change: reference dataclass values in enum

This commit is contained in:
aclist committed 2026-11-10 04:30:40 +09:00
1 parent 15d4b71350
commit 598973104c
14 files changed
+275 -257

No files matched your search

+1 -1
View File
@@ -77,4 +77,4 @@ class MenuTreeView(TreeView):
raise ValueError("Trying to call a method on non-existent model")
_iter = self.get_focused_row_iter()
rowtype = model.get_value(_iter, 1)
return str(rowtype.dict["tooltip"])
return str(rowtype.tooltip)