]> git.lyx.org Git - lyx.git/commit
Fix issue with language switch in Arguments insets
authorEnrico Forestieri <forenr@lyx.org>
Wed, 11 Oct 2017 07:13:11 +0000 (09:13 +0200)
committerEnrico Forestieri <forenr@lyx.org>
Wed, 11 Oct 2017 22:02:54 +0000 (00:02 +0200)
commitb79d07f4a591f960625bef8cae760e08add6f549
treead9449effb004cb18fb0f7af5b6a52bbb2c3ee4e
parent2af69629cbc0a645c29d0d8df5efd35c610b3ac3
Fix issue with language switch in Arguments insets

In some insets such as Arguments, a local language switch has to be
used. However, if the language inside the inset was set to be equal
to the outer language, the code decided not to switch language. But
then got confused and tried to close a switch that was never opened.
This patch forces the switch even if the outer language is the same.

(cherry picked from commit ce4f39d414a26edcf54c1e24d6142e6b929586d7)
src/output_latex.cpp