This is an automated email from the ASF dual-hosted git repository.
gregdove 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 6e6dca7 Quick build fix
6e6dca7 is described below
commit 6e6dca7338721aa1f8033b1515caed5828e6e303
Author: greg-dove <[email protected]>
AuthorDate: Thu Mar 11 09:53:32 2021 +1300
Quick build fix
---
frameworks/projects/MXRoyale/src/main/royale/mx/controls/NavBar.as | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/frameworks/projects/MXRoyale/src/main/royale/mx/controls/NavBar.as
b/frameworks/projects/MXRoyale/src/main/royale/mx/controls/NavBar.as
index 9623f61..28738f5 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/controls/NavBar.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/controls/NavBar.as
@@ -412,8 +412,8 @@ public class NavBar extends Box
// If value is a ViewStack name, document[value] may not be defined
yet.
// In this case, fall through to the code below
// which will setup a pending target view stack.
- if ((value is String) && (document && document[value]))
- value = document[value];
+ if ((value is String) && (mxmlDocument && mxmlDocument[value]))
+ value = mxmlDocument[value];
if ((value is String) || (value is ViewStack))
{