Breakthrough/DVR-Scan

Closing the ROI editor should warn if you have unsaved changes

Breakthrough opened this issue · 2 comments

As per the discussion in #58, closing the region editor should warn the user if there are unsaved changes, and allow saving the region file. TODOs:

  • Prompt user to save before quitting if there are unsaved changes (fixed in 0e21304)
  • If a path was passed on command line to save the regions to, don't show a prompt for a file path, and always save there (e.g. dvr-scan -i video.mp4 -r -s regions.txt shouldn't show a file dialog)

The region editor will now always prompt if there are unsaved changes, including when starting a scan.

Fixes will be included in v1.6.1.