Reset button is now resetting graph and throughput texts

This commit is contained in:
Ziver Koc 2014-08-11 13:56:32 +02:00
parent 77fe316f14
commit 97798ababa
4 changed files with 31 additions and 9 deletions

View file

@ -168,7 +168,10 @@ public class MainActivity extends FragmentActivity implements OnSharedPreference
return true;
}
else if (id == R.id.action_reset) {
currentExecutor.reset();
if(currentExecutor != null)
currentExecutor.reset();
if(statusFragment != null)
statusFragment.reset();
updateExecutionState();
}
else if (id == R.id.action_edit) {