Skip to content

Commit 7a661ee

Browse files
committed
fix: Regenerate command palette actionset on late setup (nightly)
1 parent cff8f22 commit 7a661ee

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

biscuit/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
__version__ = "2.68.0"
1+
__version__ = "2.69.0"
22
__version_info__ = tuple([int(num) for num in __version__.split(".")])
33

44
# For tests to run successfully

biscuit/core/settings/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@ def __init__(self, base: App) -> None:
4747
self.commands = []
4848

4949
self.setup_font()
50-
self.gen_actionset()
5150

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

102+
self.gen_actionset()
103103
self.base.palette.register_actionset(lambda: self.actionset)
104104

105105
from biscuit.core.components import ActionSet

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "biscuit"
3-
version = "2.68.0"
3+
version = "2.69.0"
44
description = "The uncompromising code editor"
55
authors = ["Billy <billydevbusiness@gmail.com>"]
66
license = "MIT"

0 commit comments

Comments
 (0)