Commit 518fa9b
committed
Plugin: Only skip duplicate work when BlockCode nodes selected
In dbd7643, an early return was added to avoid updating the UI when the
same BlockCode node has been selected. When a non-BlockCode has been
selected, the main panel needs to be told about it so that it can show
some friendly messages about adding a BlockCode node. However, any
non-BlockCode node is represented as null, which means that changes to a
selected non-BlockCode node can't be differentiated. Skip the early
return in that case.
https://phabricator.endlessm.com/T355721 parent 5ce3180 commit 518fa9b
1 file changed
+4
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
138 | 138 | | |
139 | 139 | | |
140 | 140 | | |
141 | | - | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
142 | 145 | | |
143 | 146 | | |
144 | 147 | | |
| |||
0 commit comments