Skip to content

Commit

Permalink
fix: Regenerate command palette actionset on late setup (nightly)
Browse files Browse the repository at this point in the history
  • Loading branch information
tomlin7 committed Apr 13, 2024
1 parent cff8f22 commit 7a661ee
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion biscuit/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__version__ = "2.68.0"
__version__ = "2.69.0"
__version_info__ = tuple([int(num) for num in __version__.split(".")])

# For tests to run successfully
Expand Down
2 changes: 1 addition & 1 deletion biscuit/core/settings/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ def __init__(self, base: App) -> None:
self.commands = []

self.setup_font()
self.gen_actionset()

def register_command(self, command: str, callback: typing.Callable) -> None:
"""
Expand Down Expand Up @@ -100,6 +99,7 @@ def late_setup(self) -> None:
self.commands = [(formalize_command(name), lambda _, method=method: method(self.base.commands))
for name, method in extract_commands(self.base.commands)]

self.gen_actionset()
self.base.palette.register_actionset(lambda: self.actionset)

from biscuit.core.components import ActionSet
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "biscuit"
version = "2.68.0"
version = "2.69.0"
description = "The uncompromising code editor"
authors = ["Billy <[email protected]>"]
license = "MIT"
Expand Down

0 comments on commit 7a661ee

Please sign in to comment.