Update Queue.java

This commit is contained in:
xfarrow 2023-07-24 15:24:52 +02:00
parent 7c9db6b5ba
commit a900c94b5a
1 changed files with 4 additions and 9 deletions

View File

@ -10,9 +10,7 @@ import javax.swing.JScrollPane;
import javax.swing.table.DefaultTableCellRenderer;
import javax.swing.table.DefaultTableModel;
import javax.swing.table.TableColumn;
import com.jcraft.jsch.SftpProgressMonitor;
import code.Constants;
import code.TransferProgress;
import controllers.QueueController;
@ -103,10 +101,7 @@ public class Queue extends JFrame implements IQueueFrame {
controller.computePercentage(transferProgress)));
}
else {
if(transferProgress.getTransferStatus() != TransferProgress.INIT) {
updateRow(controller.getTableIndex(transferProgress), controller.computePercentage(transferProgress));
}
}
}
}