Fix a bug hindering re-opening of previously opened files
Fix a bug hindering re-opening of previously opened files

hoksi/Codiad,Andrey-Pavlov/Codiad,begemot-amp/Codiad,lucasfurlani/ACIDE,fly19890211/Codiad,beavis28/Codiad,Andr3as/Codiad,justintime4tea/Codiad,Tepira/Codiad,AlphaStaxLLC/Codiad,titiushko/Codiad,cobisimo/Codiad,evertton/Codiad,dragonro/Codiad,dragonro/Codiad,l3dlp/Codiad,hoksi/Codiad,justintime4tea/Codiad,fly19890211/Codiad,Tepira/Codiad,l3dlp/Codiad,Andr3as/Codiad,lucasfurlani/ACIDE,beavis28/Codiad,dragonro/Codiad,AlphaStaxLLC/Codiad,cobisimo/Codiad,lucasfurlani/ACIDE,titiushko/Codiad,dragonro/Codiad,justintime4tea/Codiad,BogusCurry/Codiad,begemot-amp/Codiad,Andrey-Pavlov/Codiad,evertton/Codiad,BogusCurry/Codiad