]> git.lyx.org Git - features.git/commit
Refresh previews on branch toggle
authorScott Kostyshak <skostysh@lyx.org>
Wed, 11 Dec 2019 16:46:56 +0000 (11:46 -0500)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Thu, 18 Jun 2020 13:48:46 +0000 (15:48 +0200)
commit15abb101ccd5558e53d1c010f8d2f4e7626ddda9
treebcad3e0e4b05c80838ff35b86fa4b9bc138743a0
parent37b7e78b625b895e10cbaa0ed4f0854539dd9f45
Refresh previews on branch toggle

We only referesh previews if the branch that is toggled exists in a
descendant. This code could be further optimized, as noted in the
comments.

For relevant discussion, see the following ML thread:

https://www.mail-archive.com/search?l=mid&q=20191209022030.d6gyy3abdectr3yz%40tallinn
src/insets/InsetBranch.cpp