edgetx icon indicating copy to clipboard operation
edgetx copied to clipboard

fix(cpn): save lastDir when opening a file

Open pagrey opened this issue 1 year ago • 1 comments

Fixes #5157 and fixes #4813

Summary of changes: Ignores updateLastUsedDir boolean and updates the last directory used.

I don't know the purpose of not saving the last used directory and I don't know the impact of removing all the code associated with removing this boolean value so I set it true so the directory is updated. Companion hasn't updated the directory location in seven years but these two issues reference the problem and this is a very simple fix.

pagrey avatar Jun 12 '24 00:06 pagrey

My personal preference is to update the last used directory on save as this would normally be where you store the majority of your files whereas opening files could be from more varied locations such as main storage location, backups, usb drives, downloads, emails, etc.

elecpower avatar Jun 12 '24 21:06 elecpower