Author: jflesch
Date: 2007-04-22 22:48:49 +0000 (Sun, 22 Apr 2007)
New Revision: 12884
Modified:
trunk/apps/Thaw/src/thaw/plugins/index/Index.java
Log:
Fix index tree display : When an index is being inserted, it must have a gray
background
Modified: trunk/apps/Thaw/src/thaw/plugins/index/Index.java
===================================================================
--- trunk/apps/Thaw/src/thaw/plugins/index/Index.java 2007-04-22 22:46:26 UTC
(rev 12883)
+++ trunk/apps/Thaw/src/thaw/plugins/index/Index.java 2007-04-22 22:48:49 UTC
(rev 12884)
@@ -842,9 +842,10 @@
if (o instanceof FCPClientPut) {
/* TODO : check if it's successful, else merge if it's
due to a collision */
-
- if (indexTree != null)
- indexTree.removeUpdatingIndex(this);
+ if (((FCPClientPut)o).isFinished()) {
+ if (indexTree != null)
+ indexTree.removeUpdatingIndex(this);
+ }
}
if (o instanceof Comment) {