This change fixes the bug in the Plane app, which attempts to start the file browser in a subdirectory of the aircraft directory when looking for manuals for the current aircraft.
The browse start directory was being initialised too early, before the aircraft was loaded. This is now done whenever the plane is loaded, so will work correctly if a new plane is selected during a simulation run.
(It is possible (probable?) that I broke this behaviour some long time ago when I was modifying mouse wheel and document scrolling behaviour in multi-page PDF files. I'm slightly surprised that no one has reported the issue before!)
This change fixes the bug in the Plane app, which attempts to start the file browser in a subdirectory of the aircraft directory when looking for manuals for the current aircraft.
The browse start directory was being initialised too early, before the aircraft was loaded. This is now done whenever the plane is loaded, so will work correctly if a new plane is selected during a simulation run.
(It is possible (probable?) that I broke this behaviour some long time ago when I was modifying mouse wheel and document scrolling behaviour in multi-page PDF files. I'm slightly surprised that no one has reported the issue before!)