DynamicGravitySystems / DGP

Dynamic Gravity Processor
http://dgp.readthedocs.io/en/develop/
Apache License 2.0
7 stars 4 forks source link

File Display in Project doesn't refresh until application relaunch #27

Closed bradyzp closed 6 years ago

bradyzp commented 6 years ago

Need to fix functionality in ui-development branch;

With recent changes to the project tree code, file names/identifiers are no longer being updated in the GUI Tree View upon the addition of a new data file, until the program is closed and relaunched (which prompts a re-scan of the entire project).

bradyzp commented 6 years ago

Fixed in commit ad5984c Updated file import logic to ensure update is pushed to Tree Model (Models.py::ProjectModel) which then dynamically updates the Tree View display in the GUI. Also added some new functionality to package data files into a Tuple containing source information, for storage in a Container object - as a Flight child.