From f357d06245784d7f3589a6dd220b995962c86b24 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Wed, 7 Feb 2024 16:18:30 +0100 Subject: [filetransfer] Set state to WORKING when using local copying --- src/main/java/org/openslx/filetransfer/util/IncomingTransferBase.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main/java/org/openslx/filetransfer/util/IncomingTransferBase.java b/src/main/java/org/openslx/filetransfer/util/IncomingTransferBase.java index 0f78680..8e68dc2 100644 --- a/src/main/java/org/openslx/filetransfer/util/IncomingTransferBase.java +++ b/src/main/java/org/openslx/filetransfer/util/IncomingTransferBase.java @@ -289,6 +289,9 @@ public abstract class IncomingTransferBase extends AbstractTransfer implements H if ( sources != null && !sources.isEmpty() ) { chunks.markLocalCopyCandidates( sources ); } + if ( state == TransferState.IDLE ) { + state = TransferState.WORKING; + } localCopyManager.trigger(); } -- cgit v1.2.3-55-g7522