Skip to content

Conversation

mstv
Copy link
Member

@mstv mstv commented Nov 6, 2023

Fixes #11329

Proposed changes

  • Always call ReloadHotkeys from OnRuntimeLoad
    There is no need to call it from OnUICommandsSourceSet because the ServiceProvider shall not be exchanged during runtime.
    In addition, OnUICommandsSourceSet is not always triggered as necessary.
  • Call all ReloadHotkeys from FormBrowse.HandleSettingsChanged
  • Call LoadCustomDifftools only once from OnRuntimeLoad, too

Screenshots

N/A

Test methodology

  • manual

Merge strategy

I agree that the maintainer squash merge this PR (if the commit message is clear).


✒️ I contribute this code under The Developer Certificate of Origin.

and from HandleSettingsChanged
@mstv mstv self-assigned this Nov 6, 2023
Copy link
Member

@RussKie RussKie left a comment

Choose a reason for hiding this comment

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

If it is working...

@pmiossec
Copy link
Member

pmiossec commented Nov 9, 2023

If it is working...

Yes, tested successfully.

@RussKie RussKie merged commit 7479318 into gitextensions:master Nov 9, 2023
@ghost ghost added this to the vNext milestone Nov 9, 2023
@mstv mstv deleted the fix/i11329_refactor_scripts branch November 9, 2023 11:01
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.

Blame view: ctrl+f doesn't open search into file content popup
3 participants