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

FastColoredTextBox: Fix 'n' under mono. #181

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dallenwilson
Copy link
Contributor

'Fixes' issue #177.

Under mono, the mnemonic assigned to the general tab's new profile button is active even when the script editor has focus, so the 'n' key isn't passed to the editor at all. It doesn't trigger the button either, it seems to just disappear.

More information and several potential solutions are laid out in the issue, but the one implemented in this small patch simply disables the mnemonic on the button if the Script Editor tab is selected, and restores it once it's un-selected.

Tested under Gentoo Linux / Mono 6.12.0.122 and Windows 10, everything seems happy now.

It doesn't actually fix the problem, but it does make things work again.

@dtcooper
Copy link

Heya @markdwags, I think merging this will fix our issues on Linux. Cheers!

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.

None yet

2 participants