trackeditor: fix changing object name and comment
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@9334 30fe4595-0a0c-4342-8851-515496e4dcbd
This commit is contained in:
parent
ab2c64770d
commit
de0dad9d14
|
@ -481,13 +481,13 @@ public class GraphicObjectProperties extends PropertyPanel
|
|||
GraphicObjectData datum = data.get(j);
|
||||
GraphicObject object = graphicObjects.get(j);
|
||||
|
||||
if (isDifferent(object.getName(), datum.name, stringResult))
|
||||
if (isDifferent(datum.name, object.getName(), stringResult))
|
||||
{
|
||||
object.setName(stringResult.getValue());
|
||||
getEditorFrame().documentIsModified = true;
|
||||
}
|
||||
|
||||
if (isDifferent(object.getComment(), datum.comment, stringResult))
|
||||
if (isDifferent(datum.comment, object.getComment(), stringResult))
|
||||
{
|
||||
object.setComment(stringResult.getValue());
|
||||
getEditorFrame().documentIsModified = true;
|
||||
|
|
|
@ -34,7 +34,7 @@ public class Properties
|
|||
private static Properties instance = new Properties();
|
||||
private Vector<ActionListener> propertiesListeners = new Vector<ActionListener>();
|
||||
public final String title = "sd2-trackeditor";
|
||||
public final String version = "1.4.52";
|
||||
public final String version = "1.4.53";
|
||||
private String path;
|
||||
|
||||
private double imageScale = 1;
|
||||
|
|
Loading…
Reference in New Issue