From 497a76ef6ab2a386b934216ed67dfbb1fec6d82c Mon Sep 17 00:00:00 2001 From: Alfredo Fernandes <109859677+fredconex@users.noreply.github.com> Date: Fri, 8 Nov 2024 11:22:21 -0300 Subject: [PATCH] tempearture / context_size fix Incorrect initialization was resetting to "None" after loading values --- main.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/main.py b/main.py index 6287e43..4b18147 100644 --- a/main.py +++ b/main.py @@ -172,9 +172,7 @@ def __init__(self, parent=None): self.create_tray_icon() self.dragging = False self.drag_start_position = None - # Initialize attributes - self.temperature = None - self.context_size = None + self.suggestion_list = QListWidget(self) # Add this line self.suggestion_list.setWindowFlags( Qt.WindowType.FramelessWindowHint | Qt.WindowType.ToolTip