[Github-comments] [geany/geany-plugins] projectorganizer: Make sure project is open before trying to expand the tree (#555)

Jiří Techet notifications at xxxxx
Mon Apr 3 19:50:42 UTC 2017


@codebrainz Yeah, it might theoretically happen that one project is closed, another opened afterwards after which the idle function is called still for the first project and expand incorrect paths as a result.

I've just submitted a new patch - instead of saving the source IDs which I'd have to store to some global variable, I just pass the Geany project pointer to the idle function and there check if it's still the same project. Should do the same job.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany-plugins/pull/555#issuecomment-291253818
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20170403/0bfbc822/attachment.html>


More information about the Github-comments mailing list