bobbyrne01 / save-text-to-file-firefox

Firefox addon that saves highlighted text to a file.
https://addons.mozilla.org/firefox/addon/save-text-to-file/
GNU General Public License v3.0
94 stars 30 forks source link

Alert is shown even though saving the file was aborted #91

Closed tomtom closed 6 years ago

tomtom commented 6 years ago

sttf always shows an alert (if "show alert" & if "show selection dialog" are enabled) even when the process was aborted.

  1. Enable the two options
  2. Select text
  3. Wait for the dialog to appear
  4. Press escape

The alert "Text saved to file" is displayed but not file was created.

sttf should check some return value of the dialog to see if a file was actually created.

bobbyrne01 commented 6 years ago

should be available in 3.0.2