Skip to content

Commit

Permalink
Set cancelable flag in progress monitor for opening of traces
Browse files Browse the repository at this point in the history
This is necessary because the latest Theia version changed the default
behavior to align with VsCode.

Fixes #256

Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
  • Loading branch information
bhufmann committed Feb 8, 2021
1 parent c663f12 commit bf08845
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,10 @@ export class TraceViewerWidget extends ReactWidget {

// This will show a progress dialog with "Cancel" option
this.messageService.showProgress({
text: 'Open traces'
text: 'Open traces',
options: {
cancelable: true
}
},
() => {
isCancelled.value = true;
Expand Down

0 comments on commit bf08845

Please sign in to comment.