mirror of
https://github.com/aclist/dztui.git
synced 2026-10-31 15:12:48 +01:00
chore: cleanup
This commit is contained in:
1 parent
53b6034f2a
commit
57be68ea73
1 file changed
+1
-5
@@ -259,12 +259,8 @@ class ModelManager:
|
|||||||
self.filter_cache[filters] = (model, rows)
|
self.filter_cache[filters] = (model, rows)
|
||||||
|
|
||||||
def new_model(self) -> ListStore:
|
def new_model(self) -> ListStore:
|
||||||
store = ListStore(*[ftype for field, ftype in ServerColumns.__annotations__.items()])
|
store = self.new_model_from_class(ServerColumns)
|
||||||
return store
|
return store
|
||||||
#return = ListStore(*f)
|
|
||||||
#return ListStore(
|
|
||||||
# str, str, str, str, int, int, int, str, int, int, str, bool
|
|
||||||
#)
|
|
||||||
|
|
||||||
def resync_model(self, addr: str, qport: int) -> None:
|
def resync_model(self, addr: str, qport: int) -> None:
|
||||||
"""
|
"""
|
||||||
|
|||||||
Reference in new issue
Block a user