]> 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)
committerScott Kostyshak <skostysh@lyx.org>
Wed, 11 Dec 2019 16:48:56 +0000 (11:48 -0500)
commitf1accdebf3feb42e4eacb615237204cfa8d61747
tree7bcc8433d99ce346f705fe2231e8097f20d5e1e8
parentc61472303e4ea1d59d1f26e9d4a516dd2c50feb2
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