Skip to content

Commit

Permalink
fix renaming id's when cloning site model. fixes #91
Browse files Browse the repository at this point in the history
  • Loading branch information
rbouckaert committed Oct 9, 2024
1 parent 61e805c commit e1a12a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/beastfx/app/inputeditor/BeautiDoc.java
Original file line number Diff line number Diff line change
Expand Up @@ -2194,7 +2194,7 @@ public static String renameId(String id, PartitionContext oldContext, PartitionC
}
//oldPartition = oldPartition.substring(oldPartition.indexOf(':') + 1);
} else {
newPartition = newContext.partition;
newPartition = "." + newContext.partition;
oldPartition = oldContext.partition;
}
if (id.indexOf('.') < 0 || !(id.endsWith(oldPartition))) {
Expand Down

0 comments on commit e1a12a3

Please sign in to comment.