mirror of
https://github.com/tiennm99/serena.git
synced 2026-10-13 16:15:29 +00:00
Fix log level highlighting not working when tools are registered
This commit is contained in:
1 parent
8e2013d8c1
commit
9c1c2a4d2a
1 file changed
+1
-1
@@ -146,7 +146,7 @@ class GuiLogViewer:
|
||||
start_index = self.text_widget.index("end-1c")
|
||||
|
||||
# Insert the message
|
||||
self.text_widget.insert(tk.END, message + "\n")
|
||||
self.text_widget.insert(tk.END, message + "\n", log_level.name)
|
||||
|
||||
# Convert start index to line/char format
|
||||
line, char = map(int, start_index.split("."))
|
||||
|
||||
Reference in new issue
Block a user