Skip to content

Commit

Permalink
tempearture / context_size fix
Browse files Browse the repository at this point in the history
Incorrect initialization was resetting to "None" after loading values
  • Loading branch information
fredconex authored Nov 8, 2024
1 parent b2d8194 commit 497a76e
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 497a76e

Please sign in to comment.