petargyurov / megadetector-gui

A desktop application that makes using MegaDetector's model easier
43 stars 2 forks source link

Review file selection should only accept .json files #6

Closed petargyurov closed 3 years ago

petargyurov commented 3 years ago

Describe the bug When starting a review, the file import section allows you to load any file, when only JSON is supported.

To Reproduce Steps to reproduce the behavior:

  1. Go to Review page
  2. Click button to import file
  3. Select a non .json file
  4. Observe error

Expected behavior The file dialog should be configured to only allow .json files

Screenshots N/A

System Information (please complete the following information):

Additional context N/A