Fixed Run button, again!
Added reset button. Improved some things.
This commit is contained in:
parent
f5e95e683c
commit
331b244a0e
6 changed files with 31 additions and 11 deletions
|
|
@ -164,6 +164,10 @@ public class MainActivity extends FragmentActivity implements OnSharedPreference
|
|||
updateExecutionState();
|
||||
return true;
|
||||
}
|
||||
else if (id == R.id.action_reset) {
|
||||
currentExecutor.reset();
|
||||
updateExecutionState();
|
||||
}
|
||||
else if (id == R.id.action_edit) {
|
||||
if(!currentExecutor.isRunning()) {
|
||||
Intent intent = new Intent(this, EditActivity.class);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue