Skip to content

Update method modeling panel language when new db opened#3039

Merged
charisk merged 2 commits intomainfrom
charisk/method-modeling-language
Nov 1, 2023
Merged

Update method modeling panel language when new db opened#3039
charisk merged 2 commits intomainfrom
charisk/method-modeling-language

Conversation

@charisk
Copy link
Copy Markdown
Contributor

@charisk charisk commented Nov 1, 2023

Now that we check viewState?.language before showing the "Not in modeling mode" screen, we need to make sure that language is set when opening a new DB.

Checklist

N/A:

  • CHANGELOG.md has been updated to incorporate all user visible changes made by this pull request.
  • Issues have been created for any UI or other user-facing changes made by this pull request.
  • [Maintainers only] If this pull request makes user-facing changes that require documentation changes, open a corresponding docs pull request in the github/codeql repo and add the ready-for-doc-review label there.

@charisk charisk requested a review from a team as a code owner November 1, 2023 08:59
Copy link
Copy Markdown
Member

@koesie10 koesie10 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! Should we also be setting this.databaseItem when a database is opened to keep the state of the view provider consistent?

Copy link
Copy Markdown
Contributor

@robertbrignull robertbrignull left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks. I can also confirm this fixes the bug for me.

@charisk charisk merged commit fe212c3 into main Nov 1, 2023
@charisk charisk deleted the charisk/method-modeling-language branch November 1, 2023 09:31
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.

3 participants