Before we would get a message saying our file was empty if trying to cancel the print file selectionChanges from: https://phabricator.kde.org/R231:f72448828270d266acf4fbde69d09bc648337b7f
Create an error dialog if the print function is called empty. This checks that the dialog was accepted before sending the filename to the print function preventing the error message from showing.