Skip to content

LogicEditor | Graph is not saved when using Hotkeys

Summary

Using Hotkeys, namely CTRL+S, to save does not work in the Graph Window. Instead, this seems to save the current scene. This behaviour can be viewed as unintended, as while saving happens, it does not happen in the correct active context (which would be the graph).

Steps to reproduce

  1. Open a graph
  2. Add a node
  3. Hit CTRL+S
  4. Close the graph without saving via the dialog popup
  5. Re-Open the graph
  6. The node added in 2 will be gone

What is the current bug behavior?

Graphs do not save when using hotkeys

What is the expected correct behavior?

Graphs should save when using hotkeys


Version

All

Build Target

All

Mode

All


Relevant logs and/or screenshots

N/A

Possible fixes

  • Listen toEditorSceneManager.sceneSaving when the graph is open and if this is triggered, save the graph as well. SceneSaving