Skip to content

Commit

Permalink
Progress API: Can't create multiple progress notifications with the s…
Browse files Browse the repository at this point in the history
…ame title (fixes #46637)
  • Loading branch information
bpasero committed Mar 27, 2018
1 parent 4831efe commit 2b11285
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/vs/workbench/common/notifications.ts
Original file line number Diff line number Diff line change
Expand Up @@ -563,6 +563,10 @@ export class NotificationViewItem implements INotificationViewItem {
}

public equals(other: INotificationViewItem): boolean {
if (this.hasProgress() || other.hasProgress()) {
return false;
}

if (this._source !== other.source) {
return false;
}
Expand Down

0 comments on commit 2b11285

Please sign in to comment.