File tree Expand file tree Collapse file tree 1 file changed +12
-1
lines changed
Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,8 @@ import { ElementExt } from '@lumino/domutils';
88
99import { PromiseDelegate , ReadonlyJSONObject } from '@lumino/coreutils' ;
1010
11+ import { Signal } from '@lumino/signaling' ;
12+
1113import { DOMUtils , showErrorMessage } from '@jupyterlab/apputils' ;
1214
1315import { JupyterFrontEnd } from '@jupyterlab/application' ;
@@ -18,7 +20,7 @@ import { DocumentRegistry } from '@jupyterlab/docregistry';
1820
1921import { renameFile } from '@jupyterlab/docmanager' ;
2022
21- import { PathExt } from '@jupyterlab/coreutils' ;
23+ import { PathExt , IChangedArgs } from '@jupyterlab/coreutils' ;
2224
2325import {
2426 DirListing ,
@@ -426,7 +428,16 @@ export class FilterFileTreeBrowserModel extends FilterFileBrowserModel {
426428 }
427429
428430 set path ( value : string ) {
431+ const pathChanged = this . pathChanged as Signal < this, IChangedArgs < string > > ;
432+ const oldValue = this . _path ;
433+
429434 this . _path = value ;
435+
436+ pathChanged . emit ( {
437+ name : 'path' ,
438+ oldValue,
439+ newValue : value
440+ } ) ;
430441 }
431442
432443 /**
You can’t perform that action at this time.
0 commit comments