When I clicked on a PDF link on a page, it downloaded. But now it opens in Opera first. This changed after an update. Here's how to change it back.
Type or copy and paste this in the URL or Address bar: opera://settings/content/pdfDocuments and turn on Download PDF files instead of automatically opening them in Opera.
Now links to pdf files automatically download.