fixed wrong status bar message when opening file in edit