LarsGit223 commented on this pull request.
- GError *error = NULL;
+ + filename = dialogs_create_new_workbench(); + if (filename == NULL) + { + return; + } + wb_globals.opened_wb = workbench_new(); + workbench_set_filename(wb_globals.opened_wb, filename); + if (workbench_save(wb_globals.opened_wb, &error)) + { + menu_item_new_deactivate(); + menu_item_open_deactivate(); + menu_item_save_activate(); + menu_item_settings_activate(); + menu_item_close_activate();
Yes. Just changed it to work in a similar way like the sidebar and the popup menu.