Since expand_on_idle() is called as an idle function, it can happen it's executed after project is closed in which case it should just return without accessing variables with invalid values.
Should fix crash reported in #549. You can view, comment on, or merge this pull request online at: https://github.com/geany/geany-plugins/pull/555 -- Commit Summary -- * projectorganizer: Make sure project is open before trying to expand the tree -- File Changes -- M projectorganizer/src/prjorg-sidebar.c (5) -- Patch Links -- https://github.com/geany/geany-plugins/pull/555.patch https://github.com/geany/geany-plugins/pull/555.diff -- 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
