Clean up.
This commit is contained in:
parent
d53ef9aa1b
commit
fd9d47f0c0
@ -68,9 +68,8 @@ fn main() -> Result<(), Box<dyn Error>> {
|
||||
|
||||
match args.gui {
|
||||
true => run_gui(root_path),
|
||||
false => {
|
||||
false => match args.tui {
|
||||
// Open the TUI editor if requested, otherwise use the QML GUI by default.
|
||||
match args.tui {
|
||||
true => run_tui(root_path),
|
||||
false => {
|
||||
// Relaunch the CLIDE GUI in a separate process.
|
||||
@ -82,7 +81,6 @@ fn main() -> Result<(), Box<dyn Error>> {
|
||||
.spawn()?;
|
||||
Ok(())
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user