-
Notifications
You must be signed in to change notification settings - Fork 578
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
PoC of functionality for lazy focus loss (to avoid closing on short-term losses) #1892
PoC of functionality for lazy focus loss (to avoid closing on short-term losses) #1892
Conversation
Black is a program for code formatting. Running |
Oh, I missed that there was an update to this since I last looked. Looks like the linter has some things to say about your code, I'll copy and paste it here for easier access. There's line numbers and filenames so you can see what lines it wants you to fix.
|
Alright, I've gone in and done a quick rebase and cleared up the lint errors. Still not sure about making this the default behavior, but I could come around on making this an option. You're going to need to edit the prefs.glade file in glade, then add some code in prefs.py and make your changes conditional on the new preference. |
There was no discussion about defaults or so. It's just proof of concept how I solve this issue and I just build suitable for me version from source because I'm not a UI developer at all. If some one find this solution viable and can create corresponding settings they could find comments like this describing where settings should be placed |
Oh I see the line, can probably add the setting then some time. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added the preferences menu option. There was something weird going on with the commit log, and dealt with that too. Looks good for merging, I'll merge after 3.8 is released so this can go into testing for next release.
3.8 out, merging |
this PR is example of subj functionality
issue #1643
I had some issues during running lints (if some one could say what is the "black" command I'll be thankful)