[chirp_devel] [PATCH] [(py2) default branch] Chirp control of start-directory and last-directory - completes #8675
Rudolph Gutzerhagen
Thu Jan 14 21:27:32 PST 2021
Tune up start-directory and last-directory behaviour, particularly for
Chirp on Windows. This change is relatively benign for the user's
perspective.
start_dir
o fix win32 file dialog start-directory issue in platform.py
to support the open of correct or selected directory
when requested.
o add start_dir optional parameter to do_open() and do_import() methods.
Include logic to pass start_dir requests to gui_open_file() in
platform .
last_dir
o capture last_dir information when files opened in do_open() and
do_import methods.
o pass last_dir as start_dir parameter in call to do_open()
from ChirpMain's "menu helper" mh() method.
Tested okay in Windows 10 and Ubuntu Linux.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://intrepid.danplanet.com/pipermail/chirp_devel/attachments/20210115/ad85fb98/attachment-0001.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: start-dir_last-dir.patch
Type: application/octet-stream
Size: 5031 bytes
Desc: not available
Url : http://intrepid.danplanet.com/pipermail/chirp_devel/attachments/20210115/ad85fb98/attachment-0001.obj
More information about the chirp_devel
mailing list