diff --git a/src/OneWare.OssCadSuiteIntegration/OssCadSuiteIntegrationModule.cs b/src/OneWare.OssCadSuiteIntegration/OssCadSuiteIntegrationModule.cs index 3e4bb5433..2a7b7fccc 100644 --- a/src/OneWare.OssCadSuiteIntegration/OssCadSuiteIntegrationModule.cs +++ b/src/OneWare.OssCadSuiteIntegration/OssCadSuiteIntegrationModule.cs @@ -609,8 +609,9 @@ await serviceProvider.Resolve().OpenInGtkWaveAsync(wave.FullPath fpgaService.RegisterProjectEntryModification(x => { if (x.Root is not UniversalFpgaProjectRoot universalFpgaProjectRoot) return; - - if (x is IProjectFile file && YosysSettingHelper.GetConstraintFile(universalFpgaProjectRoot) == file.RelativePath) + if (!(x is IProjectFile file && file.Extension == ".pcf")) return; + + if (YosysSettingHelper.GetConstraintFile(universalFpgaProjectRoot) == file.RelativePath) { x.Icon?.AddOverlay("ConstraintFile", "ForkAwesome.Check"); }