Why ARE we being given a field to paste a value into on this dialog in the first place? Is there ever going to be a time when a user has an entire valid file path on the clipboard to paste in here and save time browsing to images (or other files) they want to add to the epub?
I've already checked and there doesn't seem to be an option to hide such a field, so my question is pretty pointless, but still...
Line 798 of BookBrowser.cpp is producing a wildly invalid file path that might be an obvious spot to head things off:
Code:
m_LastFolderOpen = QFileInfo(filepaths.first()).absolutePath();
is producing:
Code:
C:/Program Files/Sigil/https:/www.adfg.alaska.gov/static/fishing/images/sport/galleries