Skip to content

Commit

Permalink
Open the file on the music select screen.
Browse files Browse the repository at this point in the history
  • Loading branch information
kaktuswald committed Apr 4, 2024
1 parent a84d8ba commit c2fa16b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions main.pyw
Original file line number Diff line number Diff line change
Expand Up @@ -1120,8 +1120,13 @@ if __name__ == '__main__':
if exists(values['text_file_path']):
screen = open_screenimage(values['text_file_path'])
gui.display_image(get_imagevalue(screen.original))

if recog.get_is_savable(screen.np_value):
result_process(screen)
trimmed = screen.np_value[define.musicselect_trimarea_np]
if recog.MusicSelect.get_version(trimmed) is not None:
musicselect_process(trimmed)

if event == 'button_setting':
if open_setting(setting, window.current_location()):
summaryimage_generate()
Expand Down

0 comments on commit c2fa16b

Please sign in to comment.