Fix regression in #782 undo fails via context menu (#785)

Only breaks when adding reroute via context menu.
This commit is contained in:
filtered
2025-03-14 14:09:17 +11:00
committed by GitHub
parent 680cf631e0
commit cd65c4bfea

View File

@@ -5329,6 +5329,7 @@ export class LGraphCanvas implements ConnectionColorContext {
this.setDirty(false, true)
} catch (error) {
console.error(error)
} finally {
this.emitAfterChange()
}
break