Merge pull request #8022 from bparker06/history_corrupt

Fix issue that was causing old name labels to appear in content history
This commit is contained in:
Twinaphex 2019-01-16 23:00:29 +01:00 committed by GitHub
commit 30e48b46b3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1421,6 +1421,8 @@ bool task_push_load_content_with_new_core_from_menu(
content_ctx.name_bps = strdup(global->name.bps);
if (!string_is_empty(global->name.ups))
content_ctx.name_ups = strdup(global->name.ups);
global->name.label[0] = '\0';
}
if (!string_is_empty(settings->paths.directory_system))