Skip to content

Commit

Permalink
Refresh widgets tracked by debug widget on show
Browse files Browse the repository at this point in the history
Signed-off-by: Federico Bozzini <federico.bozzini@gmail.com>
  • Loading branch information
federicobozzini committed Oct 27, 2020
1 parent 6bc8d75 commit c5adb9c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/debug/src/browser/view/debug-session-widget.ts
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,11 @@ export class DebugSessionWidget extends BaseWidget implements StatefulWidget, Ap
this.toolbar.focus();
}

protected onAfterShow(msg: Message): void {
super.onAfterShow(msg);
this.getTrackableWidgets().forEach(w => w.update());
}

getTrackableWidgets(): Widget[] {
return this.viewContainer.getTrackableWidgets();
}
Expand Down

0 comments on commit c5adb9c

Please sign in to comment.