summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjmoenig <jens@moenig.org>2013-04-08 14:44:51 +0200
committerjmoenig <jens@moenig.org>2013-04-08 14:44:51 +0200
commita39f4fbffcc5503412dcf7f0b309715918323ba9 (patch)
tree3077aa9c82f150e43bf51a72093896e8a2c577a3
parent6ea1d707aa10fe45286b7d3d065ca06582f577a3 (diff)
downloadsnap-byow-a39f4fbffcc5503412dcf7f0b309715918323ba9.tar.gz
snap-byow-a39f4fbffcc5503412dcf7f0b309715918323ba9.zip
Fix: switch to edit mode and tab to scripts when loading a project
-rw-r--r--gui.js2
-rwxr-xr-xhistory.txt1
2 files changed, 3 insertions, 0 deletions
diff --git a/gui.js b/gui.js
index b886f96..184bbd0 100644
--- a/gui.js
+++ b/gui.js
@@ -2324,6 +2324,8 @@ IDE_Morph.prototype.openProjectString = function (str) {
};
IDE_Morph.prototype.rawOpenProjectString = function (str) {
+ this.toggleAppMode(false);
+ this.spriteBar.tabBar.tabTo('scripts');
if (Process.prototype.isCatchingErrors) {
try {
this.serializer.openProject(this.serializer.load(str), this);
diff --git a/history.txt b/history.txt
index 5353841..4015877 100755
--- a/history.txt
+++ b/history.txt
@@ -1595,3 +1595,4 @@ ______
* Cloud, GUI: Sharing / Unsharing projects finalization
* Lists: Adjust initial list watcher size to blocks' zoom scale
* Portuguese and Italian translations update, thanks, Manuel and Stefano!
+* GUI fix: switch to edit mode and tab to scripts when loading a project