Skip to content

Disable drag and drop if there is no screenshot in the preview

If the user has launched Spectacle without taking a screenshot or a screenshot failed, hence the preview doesn't contain a screenshot, don't execute doStartDragAndDrop. Instead, cancel it.

Current error message:

Screenshot_2021_12_09_224141

Edited by Antonio Prcela

Merge request reports