From 625bcb3f1fa77b63934eeb3d929680f21e0496f8 Mon Sep 17 00:00:00 2001 From: jeffser Date: Sat, 18 May 2024 19:48:43 -0600 Subject: [PATCH] Fixed: code blocks shouldn't be editable --- src/window.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/window.py b/src/window.py index 472639f..f5cac55 100644 --- a/src/window.py +++ b/src/window.py @@ -271,6 +271,7 @@ class AlpacaWindow(Adw.ApplicationWindow): source_view = GtkSource.View( auto_indent=True, indent_width=4, buffer=buffer, show_line_numbers=True ) + source_view.set_editable(False) source_view.get_style_context().add_class("card") self.bot_message_box.append(source_view) self.bot_message = None