X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FBidi.cpp;h=b9d1222931d83f0459b0fc527fb90bf1270e7a6f;hb=7c63b4f2603f2bccb00a9266fed08a14dcc0fb9c;hp=4470e755f116c764cf8b1142deb053459b9bbc90;hpb=be740f85439e4f2aa5e74173a1fc31ca32c0c653;p=lyx.git diff --git a/src/Bidi.cpp b/src/Bidi.cpp index 4470e755f1..b9d1222931 100644 --- a/src/Bidi.cpp +++ b/src/Bidi.cpp @@ -61,7 +61,7 @@ void Bidi::computeTables(Paragraph const & par, return; } - if (par.ownerCode() == ERT_CODE || par.ownerCode() == LISTINGS_CODE) { + if (par.inInset().forceLTR()) { start_ = -1; return; }