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

Fix objectives tab name disappearing after switching to history. #11781

Merged
merged 2 commits into from
Jul 15, 2023

Conversation

asvitkine
Copy link
Contributor

Change Summary & Additional Notes

This was broken in 2.6 by #10839 which removed one call to objectivePanel.getName() but not two others.

This PR refactors the code to not duplicate logic and makes all three places use the correct logic for the name of that tab.

Fixes: #11305

Release Note

This was broken by triplea-game#10839 which removed one call to objectivePanel.getName() but not two others.

This PR refactors the code to not duplicate logic and makes all three places use the correct logic for the name of that tab.
@asvitkine asvitkine merged commit 1ce2262 into triplea-game:master Jul 15, 2023
1 check passed
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.

Pre-Release Problem Objectives Tab Disappears
1 participant