Reset button is now resetting graph and throughput texts
This commit is contained in:
parent
77fe316f14
commit
97798ababa
4 changed files with 31 additions and 9 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue