summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYakov Goldberg <yakov.g@samsung.com>2014-05-29 17:44:11 +0300
committerYakov Goldberg <yakov.g@samsung.com>2014-05-29 17:45:46 +0300
commitee3e037e627be6c63ad9fec17cbb03cb29d8cd70 (patch)
treea967e8bae3bf5684b2cd98d71721a1b958320214
parentf19af3f10950adfe451609ed49de9dd8b6c306d5 (diff)
fix place, where default project name is saved
-rw-r--r--src/bin/egui_gui/editor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/egui_gui/editor.c b/src/bin/egui_gui/editor.c
index 2166cd6..4c156b6 100644
--- a/src/bin/egui_gui/editor.c
+++ b/src/bin/egui_gui/editor.c
@@ -1941,6 +1941,7 @@ _project_new(char *filename)
1941 return EINA_FALSE; 1941 return EINA_FALSE;
1942 } 1942 }
1943 1943
1944 gui_context_project_name_set(ctx, "new_project");
1944 if (filename) 1945 if (filename)
1945 { 1946 {
1946 if (!gui_parser_json_file_read(ctx, filename)) 1947 if (!gui_parser_json_file_read(ctx, filename))
@@ -1955,7 +1956,6 @@ _project_new(char *filename)
1955 objtree_context_set(ctx); 1956 objtree_context_set(ctx);
1956 seqview_fill(ctx); 1957 seqview_fill(ctx);
1957 1958
1958 gui_context_project_name_set(ctx, "new_project");
1959 /* Assign new editor session tocontext */ 1959 /* Assign new editor session tocontext */
1960 gui_context_editor_session_set(_active_context_get(), session_new()); 1960 gui_context_editor_session_set(_active_context_get(), session_new());
1961 1961