forked from enlightenment/enventor
main: Do not set default new file with template option (-t).
Template option (-t) creates a new file with the selected template. Therefore, template option (-t) does not need to set default new file.
This commit is contained in:
parent
202fecd511
commit
f5eb5361d2
|
@ -1092,7 +1092,7 @@ init(app_data *ad, int argc, char **argv)
|
|||
if (!config_data_set(argc, argv, &default_edc, &template))
|
||||
return EINA_FALSE;
|
||||
|
||||
newfile_default_set(default_edc);
|
||||
if (!template) newfile_default_set(default_edc);
|
||||
base_gui_init();
|
||||
statusbar_set();
|
||||
Enventor_Object *enventor = enventor_setup(ad);
|
||||
|
|
Loading…
Reference in New Issue