mirror of
https://github.com/xfarrow/guify.git
synced 2025-02-17 12:30:45 +01:00
Update Queue.java
This commit is contained in:
parent
f54fef2f0d
commit
130e9b821c
@ -116,7 +116,17 @@ public class Queue extends JFrame implements IQueueFrame {
|
||||
}
|
||||
|
||||
else if(transferProgress.getTransferStatus() == TransferProgress.END) {
|
||||
// Do nothing
|
||||
Integer tableIndex = controller.getTableIndex(transferProgress);
|
||||
if(tableIndex == null) {
|
||||
controller.putTableIndex(transferProgress,
|
||||
addRow(transferProgress.getSource(),
|
||||
transferProgress.getDestination(),
|
||||
transferProgress.getOperation() == SftpProgressMonitor.GET? "Download" : "Upload",
|
||||
100));
|
||||
}
|
||||
else {
|
||||
updateRow(tableIndex, 100);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user