Commit c046867f authored by Xavier's avatar Xavier

fix

parent dd490052
......@@ -132,6 +132,7 @@ public class MainActivity extends ActionBarActivity implements
// create the fragment and data the first time
if (dataFragment == null) {
flagActivityFirstExec=true;
((StavorApplication)getApplication()).modelViewId = R.id.menu_views_ref_frame_xyz;
// add the fragment
dataFragment = new RetainedFragment();
fm.beginTransaction().add(dataFragment, "data").commit();
......
......@@ -7,9 +7,7 @@ import org.xwalk.core.XWalkView;
import cs.si.stavor.R;
import cs.si.stavor.MainActivity;
import cs.si.stavor.StavorApplication;
import cs.si.stavor.app.Parameters;
import cs.si.stavor.simulator.Simulator;
import cs.si.stavor.web.WebAppInterface;
import android.annotation.SuppressLint;
import android.app.Activity;
import android.os.Bundle;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment