Initialize project active_branch/next_branch
Fixes a crash when creating a new project
This commit is contained in:
parent
97f72c2952
commit
efa7a3bb4e
1 changed files with 2 additions and 0 deletions
|
@ -260,6 +260,8 @@ namespace
|
|||
pinfo.movie_rtc_second = m.movie_rtc_second;
|
||||
pinfo.movie_rtc_subsecond = m.movie_rtc_subsecond;
|
||||
pinfo.projectid = m.projectid;
|
||||
pinfo.active_branch = 0;
|
||||
pinfo.next_branch = 0;
|
||||
project_copy_watches(pinfo);
|
||||
project_copy_macros(pinfo, controls);
|
||||
for(unsigned i = 0; i < ROM_SLOT_COUNT; i++) {
|
||||
|
|
Loading…
Add table
Reference in a new issue