1
0
mirror of https://github.com/osmarks/mycorrhiza.git synced 2024-12-05 02:29:54 +00:00

Fix the bug with renaming

This commit is contained in:
Timur Ismagilov 2022-03-07 20:58:03 +03:00
parent bd6b46f346
commit 3852d9fdea

View File

@ -28,7 +28,7 @@ func RenameHyphaTo(h ExistingHypha, newName string, replaceName func(string) str
h.mycoFilePath = replaceName(h.mycoFilePath)
case *MediaHypha:
h.canonicalName = newName
h.mycoFilePath = replaceName(h.mediaFilePath)
h.mycoFilePath = replaceName(h.mycoFilePath)
h.mediaFilePath = replaceName(h.mediaFilePath)
}