Fix gui decision logic to be the same as in 1.41
This commit is contained in:
parent
31255d7a41
commit
50c2b6efe7
@ -126,7 +126,7 @@ int main(int argc, char **argv)
|
||||
print_config.apply(c);
|
||||
}
|
||||
|
||||
if ((argc == 1 || cli_config.gui.value) && ! cli_config.no_gui.value && ! cli_config.help.value && cli_config.save.value.empty()) {
|
||||
if ((input_files.empty() || cli_config.gui.value) && ! cli_config.no_gui.value && ! cli_config.help.value && cli_config.save.value.empty()) {
|
||||
#if 1
|
||||
GUI::GUI_App *gui = new GUI::GUI_App();
|
||||
GUI::GUI_App::SetInstance(gui);
|
||||
|
Loading…
Reference in New Issue
Block a user