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

open-editors: fix toolbar enablement and updates #11634

Merged
merged 2 commits into from
Sep 6, 2022

Conversation

vince-fugnitto
Copy link
Member

Signed-off-by: vince-fugnitto [email protected]

What it does

Fixes: #11632.

The pull-request fixes the toolbar for the open editors tree-view to update properly:

  • the toolbar items are now always visible for the widget
  • the toolbar items are updated when there are changes with opened editors

How to test

  1. start the application
  2. open the open editors tree-view in the explorer
  3. open editors - confirm the toolbar updates (becomes enabled)
  4. perform close all editors - confirm the toolbar updates (becomes disabled)

Review checklist

Reminder for reviewers

The commit fixes the toolbar for the `open editors` tree-view to update properly:
- the toolbar items are now always visible for the widget
- the toolbar items are updated when there are changes with opened editors

Signed-off-by: vince-fugnitto <[email protected]>
@vince-fugnitto vince-fugnitto added the open-editors issues related to the open-editors view label Sep 2, 2022
@vince-fugnitto vince-fugnitto self-assigned this Sep 2, 2022
@vince-fugnitto vince-fugnitto force-pushed the vf/open-editors-toolbar branch from 44bd4b0 to 369f197 Compare September 2, 2022 17:22
Copy link
Contributor

@colin-grant-work colin-grant-work left a comment

Choose a reason for hiding this comment

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

I confirm that with these changes the commands are always visible and invoking them when there is nothing to close or save does not trigger any errors. 👍

@vince-fugnitto vince-fugnitto merged commit af11fa0 into master Sep 6, 2022
@vince-fugnitto vince-fugnitto deleted the vf/open-editors-toolbar branch September 6, 2022 16:37
@github-actions github-actions bot added this to the 1.30.0 milestone Sep 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
open-editors issues related to the open-editors view
Projects
None yet
Development

Successfully merging this pull request may close these issues.

open-editors: toolbar does not update properly or is non-existent
3 participants