Fix recent file bug in CodePad

This commit is contained in:
lxsang 2021-03-17 19:14:44 +01:00
parent bc30261bda
commit 26e5e9bb53
3 changed files with 3 additions and 1 deletions

Binary file not shown.

View File

@ -305,6 +305,8 @@ namespace OS {
* @memberof CodePad
*/
private setup(): void {
if (!this.setting.recent)
this.setting.recent = [];
this.fileview.onfileopen = (e) => {
if (!e.data || !e.data.path) {
return;

View File

@ -7,7 +7,7 @@
"email": "xsang.le@gmail.com",
"licences": "GPLv3"
},
"version":"0.1.2-b",
"version":"0.1.3-b",
"category":"Developments",
"iconclass":"fa fa-pencil-square-o",
"mimes":[