Commit 81126fb
committed
fix: close the error overlay when the active graph changes
clean() used to call clearRunErrors(), which also reset isErrorOverlayOpen.
setActiveGraph(null) left that global bit set, so a destination workflow whose
cached missing-model/media warnings are restored with silent: true would still
pop the overlay.
setActiveGraph() now dismisses the overlay on every move, restoring the old
clean() behaviour and keeping it scoped to the graph in front.
Addresses #15361 (comment)1 parent ad4d328 commit 81126fb
2 files changed
Lines changed: 19 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
963 | 963 | | |
964 | 964 | | |
965 | 965 | | |
| 966 | + | |
| 967 | + | |
| 968 | + | |
| 969 | + | |
| 970 | + | |
| 971 | + | |
| 972 | + | |
| 973 | + | |
| 974 | + | |
| 975 | + | |
| 976 | + | |
| 977 | + | |
| 978 | + | |
| 979 | + | |
966 | 980 | | |
967 | 981 | | |
968 | 982 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
| 73 | + | |
73 | 74 | | |
74 | 75 | | |
75 | 76 | | |
| |||
108 | 109 | | |
109 | 110 | | |
110 | 111 | | |
111 | | - | |
| 112 | + | |
| 113 | + | |
112 | 114 | | |
113 | 115 | | |
| 116 | + | |
114 | 117 | | |
| 118 | + | |
115 | 119 | | |
116 | 120 | | |
117 | | - | |
118 | 121 | | |
119 | 122 | | |
120 | 123 | | |
| |||
0 commit comments