[Github-comments] [geany/geany] Update doc->priv->tag_tree_dirty only if doc is set (PR #3080)

elextr notifications at xxxxx
Sun Jan 2 22:48:01 UTC 2022


@elextr commented on this pull request.



> @@ -191,7 +191,7 @@ void sidebar_update_tag_list(GeanyDocument *doc, gboolean update)
 
 	g_return_if_fail(doc == NULL || doc->is_valid);

Nah, I made that mistake first too, but doc == NULL has to keep going to remove the tag tree if there is no doc

-- 
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/3080#discussion_r777261323
You are receiving this because you are subscribed to this thread.

Message ID: <geany/geany/pull/3080/review/842449185 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20220102/36b862c6/attachment.htm>


More information about the Github-comments mailing list