Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

reading call history files only needs to occur one time #132

Merged
merged 2 commits into from
Nov 16, 2022

Conversation

w7sst
Copy link
Owner

@w7sst w7sst commented Nov 16, 2022

When fixing #124, call history files were loaded multiple times. This is not necessary. They are now loaded one time only.

@w7sst w7sst merged commit b05a214 into main Nov 16, 2022
@w7sst w7sst self-assigned this Nov 16, 2022
@w7sst w7sst deleted the replace-contest-object branch November 16, 2022 05:42
w7sst added a commit that referenced this pull request Nov 23, 2022
This refactor step is necessary to prepare for dual exchange contests,
including ARRL DX Contest (part of issue #62). Previous refactoring
steps are covered in PR #132 and PR #125.

Changes in this PR include:
- after user callsign edits, SetMyCall is called.
- SetMyCall calls Tst.OnSetMyCall which will extract any
contest-specific information (e.g. in ARRL DX Contest, US/CA stations
work only DX and DX works only US/CA stations).
- call history file is now loaded after the user starts the contest
using the RUN button. This simplified the reload logic in case the user
callsign had changed.
- move logic from each derived call history reader into the base class
TContest.OnContestPrepareToStart function.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant