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

Scenario saved via scenario editor (not quick save) doesn´t show description #192

Closed
supersonic71 opened this issue Jul 8, 2022 · 2 comments · Fixed by #197
Closed

Comments

@supersonic71
Copy link
Contributor

supersonic71 commented Jul 8, 2022

Reposting from https://www.orbiter-forum.com/threads/saved-scenario-doesn%C2%B4t-show-description.40573/

Fede :
When I save via scenario editor (not quicksave), I put a name on the "title of the scenario" and on the description box I put the a brief description of that scenario, (the scenario is saved ok) but when I restart orbiter and select that scenario the description box shows "current state" instead of the description I wrote when I saved the scenario

Kuddel:
It's a (small) error in the ScenarioEditors Save function.
The description is there in the scenario file, but it also has a "Help" entry[1] which "overrides" the descrption with the content of the Help (HTML) file
Easiest fix is to open the Scenario-File with Notepad and just remove the line containing "Help CurrentState_img"

@mschweiger
Copy link
Collaborator

I have submitted a fix for this: pull request #197
Can you please check if this fixes the problem for you?

@supersonic71
Copy link
Contributor Author

@mschweiger Just tested, it now shows the description.
Thanks!

mschweiger added a commit that referenced this issue Jul 22, 2022
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 a pull request may close this issue.

2 participants