Fixed crash when opening a file that's not part of the project
Fixed crash when opening a file that's not part of the project

cartman300/Polycode,fodinabor/Polycode,thorsummoner/polycode,sshaileshk/Polycode,thorsummoner/polycode,fodinabor/Polycode,mcanthony/Polycode,cartman300/Polycode,GovanifY/Polycode,fodinabor/Polycode,thorsummoner/polycode,GovanifY/Polycode,cartman300/Polycode,cartman300/Polycode,GovanifY/Polycode,mcanthony/Polycode,mcanthony/Polycode,Xetlin/Lua,sshaileshk/Polycode,mcanthony/Polycode,ivansafrin/Polycode,sshaileshk/Polycode,Xetlin/Lua,Xetlin/Lua,zeebok/Polycode,hksonngan/Polycode,hksonngan/Polycode,fodinabor/Polycode,carlosmarti/Polycode,thorsummoner/polycode,GovanifY/Polycode,hksonngan/Polycode,ivansafrin/Polycode,zeebok/Polycode,ivansafrin/Polycode,hksonngan/Polycode,zeebok/Polycode,carlosmarti/Polycode,zeebok/Polycode,Xetlin/Lua,sshaileshk/Polycode,ivansafrin/Polycode,carlosmarti/Polycode