UCSD-E4E / radio_collar_tracker_gcs

Ground Control Station software for the Radio Collar Tracker
http://e4e.ucsd.edu/radio-collar-tracker
GNU General Public License v3.0
1 stars 0 forks source link

[Bug]: Load Map Default Path #50

Open ntlhui opened 1 year ago

ntlhui commented 1 year ago

Commit Hash

beab8b1e88ca75be4c485820905bc6e7446b4326

Steps to Reproduce?

  1. Remove gcsConfig.ini to reset to clean state
  2. Run rctGCS from VS Code
  3. Select default QGIS path
  4. Expand the Map Display Tools menu
  5. Click the "Load Map" button

Observed Behavior

Open Map File dialog uses the QGIS path instead of a user directory

Desired Behavior

Probably use either the execution directory or user home as default path. Or previous open file directory

ntlhui commented 1 year ago

This logic located here: https://github.com/UCSD-E4E/radio_collar_tracker_gcs/blob/beab8b1e88ca75be4c485820905bc6e7446b4326/scripts/ui/map.py#L1325C44-L1325C44