diff options
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -149,8 +149,8 @@ int main(int argc, char **argv) filename = get_string_config_value(config, MPT_LAST_PROJECT); - if (filename == NULL) project = g_study_project_new(); - else project = g_study_project_open(filename); + if (filename == NULL) project = g_study_project_new(G_OBJECT(editor)); + else project = g_study_project_open(G_OBJECT(editor), filename); set_current_project(project); |