mirror of
https://github.com/xfarrow/guify.git
synced 2025-06-05 22:09:25 +02:00
Update Queue.java
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user