mirror of
https://github.com/aclist/dztui.git
synced 2026-10-30 22:52:42 +01:00
fix: cast data types correctly
This commit is contained in:
1 parent
f77d36ea44
commit
796e4c5de6
2 files changed
+4
-4
No files matched your search
@@ -147,7 +147,7 @@ class TreeView(CursorMixin, Gtk.TreeView): # type: ignore
|
||||
path = pathlist[0]
|
||||
tree_iter = model.get_iter(path)
|
||||
value = model.get_value(tree_iter, index)
|
||||
return str(value)
|
||||
return value
|
||||
|
||||
def get_name(self) -> str:
|
||||
name = self.get_value_at_index(0)
|
||||
|
||||
Reference in new issue
Block a user