Fixed Run button, again!

Added reset button.
Improved some things.
This commit is contained in:
Ziver Koc 2014-08-06 17:01:01 +02:00
parent f5e95e683c
commit 331b244a0e
6 changed files with 31 additions and 11 deletions

View file

@ -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);