This is an automated email from the ASF dual-hosted git repository.

carlosrovira pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git


The following commit(s) were added to refs/heads/develop by this push:
     new ead1739  make showContent only do that and don't worry about 
currentStep
ead1739 is described below

commit ead1739aa6a35493972061c833ab89d307771af4
Author: Carlos Rovira <[email protected]>
AuthorDate: Sun Dec 2 20:22:58 2018 +0100

    make showContent only do that and don't worry about currentStep
---
 .../Jewel/src/main/royale/org/apache/royale/jewel/Wizard.as    | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git 
a/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/Wizard.as 
b/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/Wizard.as
index 8e3b3ae..ab0626c 100644
--- 
a/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/Wizard.as
+++ 
b/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/Wizard.as
@@ -86,11 +86,11 @@ package org.apache.royale.jewel
                 */
                public function showPage(stepName:String):void
                {
-                       if(currentStep.name != stepName)
-                       {
-                               currentStep = findStepByName(stepName);
-                       }
-                       content.showContent(currentStep.name);
+                       // if(currentStep.name != stepName)
+                       // {
+                       //      currentStep = findStepByName(stepName);
+                       // }
+                       content.showContent(stepName);
                }
 
                public function findStepByName(name:String):WizardStep

Reply via email to