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

Settings UI: Locked setting can't bypass lock #4066

Merged
merged 2 commits into from Nov 4, 2022

Conversation

iLLiCiTiT
Copy link
Member

Brief description

Avoid to show unsaved changes dialog if settings are in view only mode.

Description

Even if settings UI is in view only mode change of project may trigger unsaved changes dialog which can allow to save settings. This PR makes sure the dialog is not showed.

Testing notes:

  1. Open settings UI
  2. Open second settings UI -> should ask to view only mode -> accept view only mode
  3. Do some changes in project settings
  4. Go to different project
  5. No dialog should appear

@iLLiCiTiT iLLiCiTiT self-assigned this Nov 3, 2022
@iLLiCiTiT iLLiCiTiT added the type: bug Something isn't working label Nov 3, 2022
Copy link
Member

@kalisp kalisp left a comment

Choose a reason for hiding this comment

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

Solves the issue.

@iLLiCiTiT iLLiCiTiT merged commit 25f7f62 into develop Nov 4, 2022
@iLLiCiTiT iLLiCiTiT deleted the bugfix/settings_lock_can_be_bypassed branch November 4, 2022 11:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants