updated reset ecu

git-svn-id: http://svn.3splooges.com/romraider-arch/trunk@731 d2e2e1cd-ba16-0410-be16-b7c4453c7c2d
This commit is contained in:
kascade 2007-07-13 22:50:11 +00:00
parent 42a740da5e
commit 7b843df3b6
1 changed files with 3 additions and 1 deletions

View File

@ -18,8 +18,10 @@ public final class ResetEcuAction extends AbstractAction {
public void actionPerformed(ActionEvent actionEvent) {
if (showConfirmation() == OK_OPTION) {
logger.stopLogging();
boolean logging = logger.isLogging();
if (logging) logger.stopLogging();
resetEcu();
if (logging) logger.startLogging();
}
}