summaryrefslogtreecommitdiffstats
path: root/idrop-lite
diff options
context:
space:
mode:
authorLISA STILLWELL <lisa@simon.local>2012-01-20 18:22:17 (GMT)
committer LISA STILLWELL <lisa@simon.local>2012-01-20 18:22:17 (GMT)
commit9ad9888e90d8a83c38d5810a48410afc81120f62 (patch)
tree32d832f57b2ffa2eed999bf610d3ce8a1a8c2a73 /idrop-lite
parent716dad793608a59c21f8c9fe50dcfe9b0dd816ff (diff)
downloadQCG-Data-9ad9888e90d8a83c38d5810a48410afc81120f62.zip
QCG-Data-9ad9888e90d8a83c38d5810a48410afc81120f62.tar.gz
QCG-Data-9ad9888e90d8a83c38d5810a48410afc81120f62.tar.bz2
[#550] fix wierd progress bar update problem for displayMode 2 when anything in upload table is uplaoded before a folder
Diffstat (limited to 'idrop-lite')
-rw-r--r--idrop-lite/src/main/java/org/irods/jargon/idrop/lite/iDropLiteApplet.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/idrop-lite/src/main/java/org/irods/jargon/idrop/lite/iDropLiteApplet.java b/idrop-lite/src/main/java/org/irods/jargon/idrop/lite/iDropLiteApplet.java
index 0762ffc..0e69711 100644
--- a/idrop-lite/src/main/java/org/irods/jargon/idrop/lite/iDropLiteApplet.java
+++ b/idrop-lite/src/main/java/org/irods/jargon/idrop/lite/iDropLiteApplet.java
@@ -359,6 +359,7 @@ public class iDropLiteApplet extends javax.swing.JApplet implements TransferStat
break;
default:
log.info(">>>>>>>>> no display mode, show local/rods display mode 1");
+ this.displayMode = 1;
cl.show(testCardPanel, "card2");
}
@@ -852,8 +853,8 @@ public class iDropLiteApplet extends javax.swing.JApplet implements TransferStat
} else if (ts.getTransferType() == TransferStatus.TransferType.COPY || ts.getTransferType() == TransferStatus.TransferType.PUT) {
if (ts.getTransferZone().equals(
iDropCore.getIrodsAccount().getZone()) && ts.getTransferHost().equals(iDropCore.getIrodsAccount().getHost())) {
- // don't do this for mode 3 (shopping cart mode)
- if(idropGui.displayMode != 3) {
+ // only do this for displayMode 1 - local and irods trees
+ if(idropGui.displayMode == 1) {
try {
// should leave PUT, and COPY
final IRODSOutlineModel irodsTreeModel = (IRODSOutlineModel) idropGui.irodsTree.getModel();