Install type (.deb, Snap, etc.):.app and development install on Mac
Description: Clicking on Cancel button in Downloads Directory Browser creates an uncaught error because Electron dialog returns filePaths and it is undefined when Cancel is clicked according to the documentation. Variable is not checked if it is undefined or not.
Steps to reproduce:
Settings
Click on Browse under Downloads section
Click Cancel in the opened browser.
Expected Result: Nothing should happen.
Actual Result: Uncaught TypeError: Cannot read property '0' of undefined because there is no check.
CPod version: v1.27.1 and master branch
Platform: Mac
Install type (.deb, Snap, etc.):.app and development install on Mac
Description: Clicking on
Cancel
button in Downloads Directory Browser creates an uncaught error because Electron dialog returnsfilePaths
and it is undefined whenCancel
is clicked according to the documentation. Variable is not checked if it is undefined or not.Steps to reproduce:
Expected Result: Nothing should happen.
Actual Result:
Uncaught TypeError: Cannot read property '0' of undefined
because there is no check.