Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
appinventor-sources
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
xpstem
appinventor-sources
Commits
f1214cbe
Commit
f1214cbe
authored
Aug 20, 2019
by
Evan W. Patton
Committed by
Jeffrey Schiller
Aug 20, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix REPL bug when switching to freshly opened projects
Change-Id: If71bbaee9000dc6332d1452cb02be63a1c3402e2
parent
83b79084
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
appinventor/appengine/src/com/google/appinventor/client/DesignToolbar.java
...gine/src/com/google/appinventor/client/DesignToolbar.java
+1
-0
appinventor/appengine/src/com/google/appinventor/client/editor/youngandroid/YaBlocksEditor.java
...ppinventor/client/editor/youngandroid/YaBlocksEditor.java
+3
-1
No files found.
appinventor/appengine/src/com/google/appinventor/client/DesignToolbar.java
View file @
f1214cbe
...
...
@@ -416,6 +416,7 @@ public class DesignToolbar extends Toolbar {
screen
.
screenName
,
new
SwitchScreenAction
(
projectId
,
screen
.
screenName
)));
}
projectNameLabel
.
setText
(
projectName
);
YaBlocksEditor
.
resendAssetsAndExtensions
();
// Send assets for active project
}
else
{
ErrorReporter
.
reportError
(
"Design toolbar doesn't know about project "
+
projectName
+
" with id "
+
projectId
);
...
...
appinventor/appengine/src/com/google/appinventor/client/editor/youngandroid/YaBlocksEditor.java
View file @
f1214cbe
...
...
@@ -698,7 +698,9 @@ public final class YaBlocksEditor extends FileEditor
}
public
static
native
void
resendAssetsAndExtensions
()
/*-{
if (top.ReplState && top.ReplState.state == Blockly.ReplMgr.rsState.CONNECTED) {
if (top.ReplState && (top.ReplState.state == Blockly.ReplMgr.rsState.CONNECTED ||
top.ReplState.state == Blockly.ReplMgr.rsState.EXTENSIONS ||
top.ReplState.state == Blockly.ReplMgr.rsState.ASSET)) {
Blockly.ReplMgr.resendAssetsAndExtensions();
}
}-*/
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment