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:
Jaehyun Cho 2016-08-24 09:51:39 +09:00
parent 202fecd511
commit f5eb5361d2
1 changed files with 1 additions and 1 deletions

View File

@ -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);