Fix log level highlighting not working when tools are registered

This commit is contained in:
Dominik Jain committed 2025-04-06 22:22:54 +02:00
1 parent 8e2013d8c1
commit 9c1c2a4d2a
1 file changed
+1 -1
+1 -1
View File
@@ -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("."))