Bug fix for Qt debugger attempting to save symbol/bookmarks at window close with no game loaded.

This commit is contained in:
Matthew Budd 2020-11-13 11:47:55 -05:00
parent 836127afd0
commit bfa70c1f25
1 changed files with 8 additions and 2 deletions

View File

@ -2480,7 +2480,10 @@ void saveGameDebugBreakpoints(void)
{
return;
}
getGameDebugBreakpointFileName( stmp );
if ( getGameDebugBreakpointFileName( stmp ) )
{
return;
}
//printf("Debug Save File: '%s' \n", stmp );
@ -2616,7 +2619,10 @@ void loadGameDebugBreakpoints(void)
printf("No Debug Windows Open: Skipping loading of breakpoint data\n");
return;
}
getGameDebugBreakpointFileName( stmp );
if ( getGameDebugBreakpointFileName( stmp ) )
{
return;
}
//printf("Debug Load File: '%s' \n", stmp );