Skip to content

Commit 7b4d6e0

Browse files
committed
fix(new-note-button): Fixed clicking ok in new style pop up
Referencing invalid variable changed to the correct one.
1 parent 0f3ec41 commit 7b4d6e0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/FreeScribe.client/UI/NoteStyleSelector.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -615,7 +615,7 @@ def ok_clicked(self, is_edit=False):
615615
self.name_entry.focus_set()
616616
return
617617
else:
618-
if not is_edit and name in NoteStyleSelector.template_options:
618+
if not is_edit and name in NoteStyleSelector.style_options:
619619
self.show_error_warning(f"⚠️ Template '{name}' already exists - Please choose a different name")
620620
return
621621

0 commit comments

Comments
 (0)