Closed GoogleCodeExporter closed 9 years ago
fixed in r963
basically the problem is that the field editedGridElement (stored in Main.java)
represents the currently edited element (used eg by property panel change
listeners to update the element with the changed text)
the call "DiagramHandler diagram = new DiagramHandler(file);" triggers a
propertypanel change event which propagates the changes to the editedGridElement
2 lines later "this.gui.open(diagram);" resets "editedGridElement" to null, but
the change has already happened.
The quick fix is setting "editedGridElement = null;" before creating the
DiagramHandler to make sure the selected element will not be changed by the
open-command
Original comment by AFDiaX
on 24 Mar 2014 at 8:23
Original comment by AFDiaX
on 3 May 2014 at 11:11
Original issue reported on code.google.com by
AFDiaX
on 24 Mar 2014 at 8:15