mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-10-27 22:37:15 +00:00
fixed NPE related to uninitialized tracking times
This commit is contained in:
1 parent
1cae206254
commit
67a2c22acc
4 files changed
+4
-6
No files matched your search
-2
@@ -151,7 +151,6 @@ public class ESSCourseDesignDialog extends RaceDialogFragment {
|
||||
|
||||
takePreviousButton = (Button) getView().findViewById(R.id.takePreviousCourseDesignButton);
|
||||
takePreviousButton.setOnClickListener(new OnClickListener() {
|
||||
|
||||
public void onClick(View arg0) {
|
||||
if (!previousCourseElements.isEmpty()) {
|
||||
if (!courseElements.isEmpty()) {
|
||||
@@ -164,7 +163,6 @@ public class ESSCourseDesignDialog extends RaceDialogFragment {
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
publishButton = (Button) getView().findViewById(R.id.publishCourseDesignButton);
|
||||
publishButton.setOnClickListener(new OnClickListener() {
|
||||
public void onClick(View arg0) {
|
||||
|
||||
Reference in new issue
Block a user