Private
Public Access
0
0

feat(ctx): Also set show_windows for Text Viewer on Slices button

This commit is contained in:
2026-05-16 17:53:41 -04:00
parent 2249606ebe
commit e1e4571c68
4 changed files with 34 additions and 23 deletions
+1
View File
@@ -3161,6 +3161,7 @@ def render_context_files_table(app: App) -> None:
app.text_viewer_content = f"Error reading file: {e}"
app.text_viewer_type = 'cpp' if f_path.endswith(('.cpp', '.hpp', '.h')) else 'python' if f_path.endswith('.py') else 'text'
app.show_text_viewer = True
app.show_windows["Text Viewer"] = True
imgui.table_set_column_index(1)
if not hasattr(f_item, "view_mode"): f_item.view_mode = "summary"