Commit 55ff5e45 authored by René Rössler's avatar René Rössler 😍
Browse files

only add recent file if it is running with a ui

parent c7f1e92e
Pipeline #103239860 passed with stage
in 10 minutes and 47 seconds
......@@ -43,7 +43,9 @@ fn main() {
if let Some(file) = opts.file.as_ref() {
gled::load_state(file.to_path_buf()).expect("Could not open project");
if !opts.noui {
} else if opts.noui {
panic!("Can not start without ui and without project");
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment