Skip to content

Commit

Permalink
Feat: Propagate config change when buildConfigurations setting is rem…
Browse files Browse the repository at this point in the history
…oved
  • Loading branch information
deribaucourt committed Jan 6, 2025
1 parent ee1925c commit f9a2f83
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions client/src/ui/BitbakeConfigPicker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@ export class BitbakeConfigPicker {
assert(this.bitbakeSettings.buildConfigurations[0].name !== undefined) // Cannot happen with the definition in client/package.json
// No need to update the memento here, the same default choice will be selected next time
this.activeBuildConfiguration = this.bitbakeSettings.buildConfigurations[0].name
} else if (this.bitbakeSettings.buildConfigurations.length === 0) {
// We want to trigger a change event so that a re-scan is triggered
this.activeBuildConfiguration = 'No BitBake configuration'
}
this.statusBarItem.text = '$(list-selection) ' + this.activeBuildConfiguration
this.statusBarItem.show()
Expand Down

0 comments on commit f9a2f83

Please sign in to comment.