Permalink
Browse files

Minor update to the generated code

  • Loading branch information...
1 parent 2ec6a91 commit d27a8dbff8aa0cb4ef0a13cdc9663928a66bf55b @rscottm rscottm committed Jan 3, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/org/ruboto/RubotoPreferenceActivity.java
@@ -47,7 +47,7 @@ public void onCreate(Bundle bundle) {
scriptInfo.setFromIntent(getIntent());
}
- if (JRubyAdapter.isInitialized()) {
+ if (JRubyAdapter.isInitialized() && scriptInfo.isReadyToLoad()) {
ScriptLoader.loadScript(this, (Object[]) args);
} else {
super.onCreate(bundle);

0 comments on commit d27a8db

Please sign in to comment.