Commit 28f2c01
committed
#Fix (Widget block gets disable after Restore #4670)
The pie menu's "Delete" button was calling an extra function, that.blocks.extract(), before calling that.blocks.sendStackToTrash().
The extract() function (which is meant to pull a block from the middle of a stack) was breaking the widget's internal state before it was even sent to the trash. The drag-and-drop delete function only calls sendStackToTrash(), which is why it worked correctly.1 parent 055d3e1 commit 28f2c01
File tree
1 file changed
+1
-1
lines changed- js
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3502 | 3502 | | |
3503 | 3503 | | |
3504 | 3504 | | |
3505 | | - | |
| 3505 | + | |
3506 | 3506 | | |
3507 | 3507 | | |
3508 | 3508 | | |
| |||
0 commit comments