[ui] Add <EXTENSION> replacement

This commit is contained in:
Aurore LAFAURIE 2024-06-03 15:36:55 +02:00
parent 569c94c6a7
commit 82dbad1632

View file

@ -110,6 +110,7 @@ class FilepathHelper(QObject):
"<PATH>": vp.childAttribute("path").value,
"<FILENAME>": FilepathHelper.basename(FilepathHelper, vp.childAttribute("path").value),
"<FILESTEM>": FilepathHelper.removeExtension(FilepathHelper, FilepathHelper.basename(FilepathHelper, vp.childAttribute("path").value)),
"<EXTENSION>": FilepathHelper.extension(FilepathHelper, vp.childAttribute("path").value),
}
resolved = path