Fix provider reset

This commit is contained in:
Thorsten Sommer 2026-02-01 14:43:37 +01:00
parent 25fc742a6f
commit 48525857e0
Signed by untrusted user who does not match committer: tsommer
GPG Key ID: 371BBA77A02C0108

View File

@ -179,6 +179,17 @@ public partial class DocumentAnalysisAssistant : AssistantBaseCore<NoSettingsPan
this.policyPreselectedProfileId = Profile.NO_PROFILE.Id; this.policyPreselectedProfileId = Profile.NO_PROFILE.Id;
} }
} }
protected override void ResetProviderAndProfileSelection()
{
if (this.selectedPolicy is null)
{
base.ResetProviderAndProfileSelection();
return;
}
this.ApplyPolicyPreselection(preferPolicyPreselection: true);
}
protected override bool MightPreselectValues() protected override bool MightPreselectValues()
{ {