diff --git a/src/ce_dubproject.pas b/src/ce_dubproject.pas index 8c0ae8ac..457a2cc0 100644 --- a/src/ce_dubproject.pas +++ b/src/ce_dubproject.pas @@ -795,7 +795,7 @@ begin try try maybe.loadFromFile(filename); - if maybe.json = nil then + if (maybe.json = nil) or (maybe.filename = '') then result := false else if maybe.json.Find('name') = nil then result := false; diff --git a/wiki/wiki.toc.txt b/wiki/wiki.toc.txt index 534d5086..f99744ec 100644 --- a/wiki/wiki.toc.txt +++ b/wiki/wiki.toc.txt @@ -23,7 +23,6 @@ __________ **Widgets** -* [Technical notes](https://github.com/BBasile/Coedit/wiki#technical-notes) * [Editor](https://github.com/BBasile/Coedit/wiki#editor-widget) * [Find](https://github.com/BBasile/Coedit/wiki#find--replace-widget) * [Library manager](https://github.com/BBasile/Coedit/wiki#library-manager-widget) diff --git a/wiki/wiki.txt b/wiki/wiki.txt index 4ab9da6e..184de120 100644 --- a/wiki/wiki.txt +++ b/wiki/wiki.txt @@ -745,7 +745,7 @@ A property inspector allows to tweak the format. See the [official documentation - ![](https://raw.githubusercontent.com/BBasile/Coedit/master/icons/other/cancel.png): restore the previous backup. The formatting is applied in memory and is undo-able either from the widget or from the code editor. The changes are not physically applied until the file is explicitly saved. -Formatting options are saved between each session in [Coedit data folder][lnk_widg_opts]. +Formatting options are saved between each session in the [Coedit data folder][lnk_widg_opts]. ## Message widget