File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
services/static-webserver/client/source/class/osparc/file Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -163,6 +163,10 @@ qx.Class.define("osparc.file.FilesTree", {
163163 }
164164 studyModel = this . getModel ( ) ;
165165 this . __filesToDataset ( "0" , studyId , files , studyModel ) ;
166+
167+ // select study item
168+ this . setSelection ( new qx . data . Array ( [ studyModel ] ) ) ;
169+ this . __selectionChanged ( ) ;
166170 } ) ;
167171 } ,
168172
@@ -189,8 +193,8 @@ qx.Class.define("osparc.file.FilesTree", {
189193 }
190194 this . openNode ( rootNodeModel ) ;
191195
192- const selected = new qx . data . Array ( [ rootNodeModel ] ) ;
193- this . setSelection ( selected ) ;
196+ // select node item
197+ this . setSelection ( new qx . data . Array ( [ rootNodeModel ] ) ) ;
194198 this . __selectionChanged ( ) ;
195199 } else {
196200 rootModel . getChildren ( ) . removeAll ( ) ;
You can’t perform that action at this time.
0 commit comments