Skip to content

Commit 86794d1

Browse files
committed
[Bug] sync newly created collections
1 parent c6cf9ee commit 86794d1

2 files changed

Lines changed: 5 additions & 0 deletions

File tree

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## Version 1.0.1
2+
### DEBUGGED
3+
* Fix failure to view command for newly created collections.
4+
15
## Version 1.0.0
26
### ADDED
37
* Add GitHub action for Linux build.

cmdcompass/gui/main_window.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -285,6 +285,7 @@ def on_add_collection_click(self):
285285
new_collection = Collection(name=collection_name, commands=[])
286286
# Add the collection using the DataManager
287287
self.data_manager.add_collection(new_collection)
288+
self.collections = self.data_manager.get_collections()
288289
# Update the collection dropdown
289290
self.collection_dropdown.configure(values=[c.name for c in self.data_manager.get_collections()])
290291
self.collection_dropdown.set(collection_name)

0 commit comments

Comments
 (0)