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

Ensured that Script window short cut keys work correctly #8405

Merged
merged 7 commits into from
Jul 10, 2023

Conversation

Patowhiz
Copy link
Contributor

Partly fixes issue #8301.
@africanmathsinitiative/developers this is ready for review.

@lloyddewit as I understand it, the previous code replaced here, attempted to combine the top visible buttons with the context menu options.
My approach leans towards attempting to treat them differently in implementation. Unlike the top buttons, which are always visible, right click menu options are only visible when the user rights clicks. So I'm now disabling them during opening.
If a user attempts to use short cut keys, then the individual events call functions that give sensible feedback to the users.
This is what was previous there.

Thanks

rdstern
rdstern previously approved these changes Jun 22, 2023
Copy link
Collaborator

@rdstern rdstern left a comment

Choose a reason for hiding this comment

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

Another "first-time round". Seems to work fine. Maybe I am not critical enough.

Copy link
Contributor

@lloyddewit lloyddewit left a comment

Choose a reason for hiding this comment

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

@Patowhiz Thank you, this is a good approach.
Just 2 small suggestions

instat/ucrScript.vb Outdated Show resolved Hide resolved
instat/ucrScript.vb Outdated Show resolved Hide resolved
Copy link
Collaborator

@rdstern rdstern left a comment

Choose a reason for hiding this comment

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

Nice!

@lloyddewit lloyddewit changed the title Restores Script Window Short Cut Keys Ensured that Script window short cut keys work correctly Jul 10, 2023
@lloyddewit lloyddewit added the bug label Jul 10, 2023
@lloyddewit lloyddewit merged commit 84e7770 into IDEMSInternational:master Jul 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants