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:
iobyte 2024-02-21 19:04:18 +00:00
parent ab2c64770d
commit de0dad9d14
2 changed files with 3 additions and 3 deletions

View File

@ -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;

View File

@ -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;