After first successful scan (or after each one successful scan, depending on settings) Skanlite prompts user with result saving options. These includes output dir and filename. I'm scanning each document to a its own subfolder in my home dir. And at very first scan subfolder usually doesn't exists. So I have to launch Dolphin and create it, or launch directory selection dialog and create subfolder in it.
It would be much simpler for me to just type in subfolder name in output path (it's editable) and let Skanlite create it automatically. That's what this patch proposes.
Now if manually entered output directory doesn't exist then Skanlite asks for user's permission to create them. It should work as mkpath().
Old behavior - Skanlite just fails at file selection and informs user abut that.