This micro-post is provided as a service to some of my friends, who find it too difficult and time consuming to submit pull requests.
In the past, contributing to open-source was sometimes difficult. You had to contact the maintainers, email them patches, and all sorts of nasty things.
Then, circa 2008, GitHub came along. With GitHub you clone the repo locally, make your changes, push to your own fork, and create a PR. Simple enough.
If you wish to avoid the CLI, though, GitHub allows you to go a step further.
diff --git a/graphgrabber.py b/graphgrabber.py index 8c301b7..5d8191c 100644 -------- a/graphgrabber.py +++ b/graphgrabber.py @@ -48,7 +48,12 @@ def graph_zoom_fit(): def grab_graph(): - widget = sark.qt.get_widget('IDA View-A').children().children() + widget = sark.qt.get_widget('IDA View-A').children() + try: + widget = widget.children() + except IndexError: + pass + width = widget.width() height = widget.height()
Edit the file in-place
And propose the change
That's it. You're Done!
Now, sure, there are better ways to do this. Details on reproduction of the error would be nice. And when it is not a bugfix, some further discussion and decisions may be required. But this is a start. And once something is started, it is often easier to follow through then without starting it.