Fixes an error where OGS files were not added to Recent -=Files=- menu when they where opened from a tree view.
Merge pull request #240 from rinkk/RecentFilesFix

Fix for always adding OGS files to Recent Files menu