Skip to content
Snippets Groups Projects
Commit 4a16344d authored by Tobias Ullerich's avatar Tobias Ullerich
Browse files

Set pad name on drag and drop

parent 45384522
No related branches found
No related tags found
No related merge requests found
......@@ -355,6 +355,9 @@ public class Pad {
}
public void addPath(Path path) {
if (mediaPaths.isEmpty()) {
setName(PathUtils.getFilenameWithoutExtension(path.getFileName()));
}
createMediaPath(path);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment