Defect description:
The escape and undo functions of draw graph part is not working if we open draw graph for the 2nd time
Steps to reproduce the issue:
Start the simulation for the experiment
Click on Draw Graph
Add some Nodes
Press Escape key to go back to the main page of simulation
Click on Draw Graph again
Add a node and press Escape key or Z
Expected result:
Pressing escape key should take us to the main page of the simulation and pressing Z should undo the last action
Actual result:
Nothing happens on pressing the Escape key or Z
Defect description: The escape and undo functions of draw graph part is not working if we open draw graph for the 2nd time
Steps to reproduce the issue: Start the simulation for the experiment Click on Draw Graph Add some Nodes Press Escape key to go back to the main page of simulation Click on Draw Graph again Add a node and press Escape key or Z
Expected result: Pressing escape key should take us to the main page of the simulation and pressing Z should undo the last action
Actual result: Nothing happens on pressing the Escape key or Z
Screenshot: