]> git.lyx.org Git - lyx.git/blobdiff - src/Bidi.cpp
Fix wrongly copy-pasted entries in SpellcheckerUi.ui
[lyx.git] / src / Bidi.cpp
index 4470e755f116c764cf8b1142deb053459b9bbc90..b9d1222931d83f0459b0fc527fb90bf1270e7a6f 100644 (file)
@@ -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;
        }