By ``` openfiles_remove(doc); sidebar_openfiles_add(doc); ``` `iter` is removed/re-added to the store. This invalidates `filter_iter` which has to be re-converted from `iter` to avoid runtime warning.
Fixes runtime error reported in https://github.com/geany/geany/pull/4210#issuecomment-2617024036 (I moved `treesel` assignment up as it makes the code clearer - otherwise it's unrelated to the change made by this patch) You can view, comment on, or merge this pull request online at: https://github.com/geany/geany/pull/4218 -- Commit Summary -- * Re-convert filter_iter after removing/re-adding iter from/to store -- File Changes -- M src/sidebar.c (14) -- Patch Links -- https://github.com/geany/geany/pull/4218.patch https://github.com/geany/geany/pull/4218.diff -- Reply to this email directly or view it on GitHub: https://github.com/geany/geany/pull/4218 You are receiving this because you are subscribed to this thread. Message ID: <geany/geany/pull/[email protected]>
