diff --git a/src/gui_2.py b/src/gui_2.py index 6f5ebba0..5c73a4c9 100644 --- a/src/gui_2.py +++ b/src/gui_2.py @@ -1893,8 +1893,6 @@ def render_main_interface(app: App) -> None: render_save_preset_modal(app) render_save_workspace_profile_modal(app) render_add_context_files_modal(app) - from src.command_palette import render_palette_modal - from src.commands import registry as _cmd_registry render_palette_modal(app, _cmd_registry.all()) render_preset_manager_window(app) render_tool_preset_manager_window(app) @@ -8757,7 +8755,7 @@ def draw_soft_shadow(draw_list: imgui.ImDrawList, p_min: imgui.ImVec2, p_max: im #endregion: Shaders #region: Command Palette Modal (rendering only; registry lives in src/commands.py) -from src.commands import Command as _CpCommand, fuzzy_match as _cp_fuzzy_match, _close_palette, _execute as _cp_execute +from src.commands import Command as _CpCommand, fuzzy_match as _cp_fuzzy_match, _close_palette, _execute as _cp_execute, registry as _cmd_registry def render_palette_modal(app: Any, commands: List[Any]) -> None: if not getattr(app, "show_command_palette", False):