mirror of
https://github.com/osmarks/mycorrhiza.git
synced 2025-09-06 04:48:03 +00:00
Fix the bug with renaming
This commit is contained in:
@@ -28,7 +28,7 @@ func RenameHyphaTo(h ExistingHypha, newName string, replaceName func(string) str
|
|||||||
h.mycoFilePath = replaceName(h.mycoFilePath)
|
h.mycoFilePath = replaceName(h.mycoFilePath)
|
||||||
case *MediaHypha:
|
case *MediaHypha:
|
||||||
h.canonicalName = newName
|
h.canonicalName = newName
|
||||||
h.mycoFilePath = replaceName(h.mediaFilePath)
|
h.mycoFilePath = replaceName(h.mycoFilePath)
|
||||||
h.mediaFilePath = replaceName(h.mediaFilePath)
|
h.mediaFilePath = replaceName(h.mediaFilePath)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user