Skip to content
Snippets Groups Projects
Commit 8c61403b authored by Jan Kožusznik's avatar Jan Kožusznik
Browse files

feat: show uploading files as filename without directory

parent eb2dc0f5
No related branches found
No related tags found
No related merge requests found
......@@ -14,8 +14,8 @@ public class FileTransferInfo {
this.state = state;
}
public String getPathAsString() {
return path.toString();
public String getFileNameAsString() {
return path.getFileName().toString();
}
public FileTransferState getState() {
......
......@@ -85,7 +85,7 @@ public class DataTransferController extends BorderPane implements
final int columnIndexState = 1;
JavaFXRoutines.setCellValueFactory(files, columnIndexPath, f -> f
.getPathAsString());
.getFileNameAsString());
JavaFXRoutines.setCellValueFactory(files, columnIndexState, f -> f
.getState());
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment