File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
services/static-webserver/client/source/class/osparc/study Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -142,6 +142,7 @@ qx.Class.define("osparc.study.StudyOptions", {
142142 control = osparc . desktop . credits . Utils . createWalletSelector ( "read" ) . set ( {
143143 allowGrowX : false
144144 } ) ;
145+ control . addListener ( "changeSelection" , ( ) => this . __evaluateOpenButton ( ) ) ;
145146 this . getChildControl ( "wallet-selector-layout" ) . add ( control ) ;
146147 break ;
147148 case "advanced-layout" :
@@ -278,13 +279,11 @@ qx.Class.define("osparc.study.StudyOptions", {
278279 }
279280 } ) ;
280281 }
281-
282- this . __evaluateOpenButton ( ) ;
283282 } ,
284283
285284 __evaluateOpenButton : function ( ) {
286285 const hasTitle = Boolean ( this . getChildControl ( "title-field" ) . getValue ( ) ) ;
287- const walletSelected = Boolean ( this . getWallet ( ) ) ;
286+ const walletSelected = Boolean ( this . getChildControl ( "wallet-selector" ) . getSelection ( ) ) ;
288287 this . getChildControl ( "open-button" ) . setEnabled ( hasTitle && walletSelected ) ;
289288 } ,
290289
You can’t perform that action at this time.
0 commit comments