File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -117,6 +117,8 @@ Item {
117117 property int submitButtonState: NodeActions .ButtonState .LAUNCHABLE
118118
119119 function getComputeButtonState (node ) {
120+ if (! node .isComputableType || node .isCompatibilityNode )
121+ return NodeActions .ButtonState .DISABLED
120122 if (node .canBeStopped ()) return NodeActions .ButtonState .STOPPABLE
121123 if (node .canBeCanceled ()) return NodeActions .ButtonState .STOPPABLE
122124 if (actionHeader .nodeIsLocked ) return NodeActions .ButtonState .DISABLED
@@ -133,6 +135,8 @@ Item {
133135 }
134136
135137 function getSubmitButtonState (node ) {
138+ if (! node .isComputableType || node .isCompatibilityNode )
139+ return NodeActions .ButtonState .DISABLED
136140 if (actionHeader .nodeIsLocked || node .canBeStopped ()) {
137141 return NodeActions .ButtonState .DISABLED
138142 }
You can’t perform that action at this time.
0 commit comments