mirror of
https://github.com/aclist/dztui.git
synced 2026-10-29 14:12:45 +01:00
feat: add extend() method to ListStore
This commit is contained in:
1 parent
3859188ade
commit
d6fd7b2494
6 files changed
+94
-42
No files matched your search
@@ -315,10 +315,10 @@ class Controller(GObject.GObject):
|
||||
path = self.query_config(Preferences.DEFAULT)
|
||||
mods = get_delimited_mods(Path(path))
|
||||
|
||||
# NOTE: cell renderer highlight toggle
|
||||
for mod in mods:
|
||||
# NOTE: show highlight color bool
|
||||
mod.append(False)
|
||||
model.append(mod)
|
||||
model.extend(mods)
|
||||
|
||||
self.cleanup_func = StoredFunc(self.load_mods_cleanup, model)
|
||||
|
||||
|
||||
Reference in new issue
Block a user