diff --git a/main.py b/main.py index 6415694..98e3ccc 100644 --- a/main.py +++ b/main.py @@ -73,11 +73,17 @@ def menu_file_save_project_as_click(): def button_prev_glyph_click(): global canvas_editor + global project + if not project.loaded: + return canvas_editor.prev_glyph() update_glyph_preview() def button_next_glyph_click(): global canvas_editor + global project + if not project.loaded: + return canvas_editor.next_glyph() update_glyph_preview()