Debugger: Fix Automatically Select Symbols To Clear checkbox

This commit is contained in:
chaoticgd 2025-08-24 13:05:38 +01:00 committed by Ty
parent 3195befab1
commit a8ea4e55ef

View File

@ -311,6 +311,7 @@ void SymbolImporter::ClearExistingSymbols(ccc::SymbolDatabase& database, const P
{
bool should_destroy = ShouldClearSymbolsFromSourceByDefault(source.name());
if (!options.AutomaticallySelectSymbolsToClear)
for (const DebugSymbolSource& source_config : options.SymbolSources)
if (source_config.Name == source.name())
should_destroy = source_config.ClearDuringAnalysis;