Skip to content

Commit

Permalink
[Bug] sync newly created collections
Browse files Browse the repository at this point in the history
  • Loading branch information
johnwangwyx committed Jun 4, 2024
1 parent c6cf9ee commit 86794d1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## Version 1.0.1
### DEBUGGED
* Fix failure to view command for newly created collections.

## Version 1.0.0
### ADDED
* Add GitHub action for Linux build.
Expand Down
1 change: 1 addition & 0 deletions cmdcompass/gui/main_window.py
Original file line number Diff line number Diff line change
Expand Up @@ -285,6 +285,7 @@ def on_add_collection_click(self):
new_collection = Collection(name=collection_name, commands=[])
# Add the collection using the DataManager
self.data_manager.add_collection(new_collection)
self.collections = self.data_manager.get_collections()
# Update the collection dropdown
self.collection_dropdown.configure(values=[c.name for c in self.data_manager.get_collections()])
self.collection_dropdown.set(collection_name)
Expand Down

0 comments on commit 86794d1

Please sign in to comment.