Fix gui decision logic to be the same as in 1.41
This commit is contained in:
parent
31255d7a41
commit
50c2b6efe7
1 changed files with 1 additions and 1 deletions
|
@ -126,7 +126,7 @@ int main(int argc, char **argv)
|
||||||
print_config.apply(c);
|
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
|
#if 1
|
||||||
GUI::GUI_App *gui = new GUI::GUI_App();
|
GUI::GUI_App *gui = new GUI::GUI_App();
|
||||||
GUI::GUI_App::SetInstance(gui);
|
GUI::GUI_App::SetInstance(gui);
|
||||||
|
|
Loading…
Add table
Reference in a new issue