Implement fatal error message box
Used when lite-xl fails at startup
This commit is contained in:
1 parent
636bc7ec95
commit
a4bc8986ff
3 files changed
+33
-3
No files matched your search
+1
-1
@@ -406,7 +406,7 @@ function core.init()
|
||||
end
|
||||
project_dir_abs = system.absolute_path(".")
|
||||
if not core.set_project_dir(project_dir_abs) then
|
||||
print("internal error: cannot set project directory to cwd")
|
||||
system.show_fatal_error("Lite XL internal error", "cannot set project directory to cwd")
|
||||
os.exit(1)
|
||||
end
|
||||
end
|
||||
|
||||
Reference in new issue
Block a user