Skip to content

Commit

Permalink
Fix crashing issue
Browse files Browse the repository at this point in the history
  • Loading branch information
vietanhdev committed Oct 6, 2024
1 parent 351b5fe commit c6e0c4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion llama_assistant/setting_dialog.py
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ def reset_shortcut(self):
self.shortcut_recorder.setText(config.DEFAULT_LAUNCH_SHORTCUT)

def update_hey_llama_mic_state(self, state):
self.hey_llama_mic_checkbox.setEnabled(state == Qt.CheckState.Checked.value)
self.hey_llama_mic_checkbox.setEnabled(state == Qt.Checked)

def load_settings(self):
if config.settings_file.exists():
Expand Down

0 comments on commit c6e0c4f

Please sign in to comment.