diff --git a/CHANGELOG.md b/CHANGELOG.md index f342b94..31eee86 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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. diff --git a/cmdcompass/gui/main_window.py b/cmdcompass/gui/main_window.py index 51578a1..c73e8ee 100644 --- a/cmdcompass/gui/main_window.py +++ b/cmdcompass/gui/main_window.py @@ -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)