You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pivot.apache.org by rw...@apache.org on 2013/03/26 22:58:18 UTC

svn commit: r1461332 - /pivot/branches/2.0.x/wtk/src/org/apache/pivot/wtk/content/TreeBranch.java

Author: rwhitcomb
Date: Tue Mar 26 21:58:18 2013
New Revision: 1461332

URL: http://svn.apache.org/r1461332
Log:
Copy/paste error: setting the regular icon in TreeBranch when setting expanded
icon via URL.

Modified:
    pivot/branches/2.0.x/wtk/src/org/apache/pivot/wtk/content/TreeBranch.java

Modified: pivot/branches/2.0.x/wtk/src/org/apache/pivot/wtk/content/TreeBranch.java
URL: http://svn.apache.org/viewvc/pivot/branches/2.0.x/wtk/src/org/apache/pivot/wtk/content/TreeBranch.java?rev=1461332&r1=1461331&r2=1461332&view=diff
==============================================================================
--- pivot/branches/2.0.x/wtk/src/org/apache/pivot/wtk/content/TreeBranch.java (original)
+++ pivot/branches/2.0.x/wtk/src/org/apache/pivot/wtk/content/TreeBranch.java Tue Mar 26 21:58:18 2013
@@ -82,7 +82,7 @@ public class TreeBranch extends TreeNode
             throw new IllegalArgumentException("iconURL is null.");
         }
 
-        setIcon(Image.loadFromCache(iconURL));
+        setExpandedIcon(Image.loadFromCache(iconURL));
     }
 
     /**