Fix the problem with the deleteselection not enabling when a file is loaded.