You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pivot.apache.org by sm...@apache.org on 2011/05/23 00:28:22 UTC
svn commit: r1126246 -
/pivot/trunk/tests/src/org/apache/pivot/tests/issues/Pivot734.java
Author: smartini
Date: Sun May 22 22:28:22 2011
New Revision: 1126246
URL: http://svn.apache.org/viewvc?rev=1126246&view=rev
Log:
PIVOT-734 - workaround
Modified:
pivot/trunk/tests/src/org/apache/pivot/tests/issues/Pivot734.java
Modified: pivot/trunk/tests/src/org/apache/pivot/tests/issues/Pivot734.java
URL: http://svn.apache.org/viewvc/pivot/trunk/tests/src/org/apache/pivot/tests/issues/Pivot734.java?rev=1126246&r1=1126245&r2=1126246&view=diff
==============================================================================
--- pivot/trunk/tests/src/org/apache/pivot/tests/issues/Pivot734.java (original)
+++ pivot/trunk/tests/src/org/apache/pivot/tests/issues/Pivot734.java Sun May 22 22:28:22 2011
@@ -83,6 +83,11 @@ public class Pivot734 implements Applica
if (x != null && x instanceof TreeBranch)
{
TreeBranch treeBranch = new TreeBranch("new branch");
+
+ // workaround for PIVOT-734
+ Path path = tree.getSelectedPath();
+ tree.setBranchExpanded(path, true);
+
((TreeBranch)x).add(treeBranch);
}