]> git.lyx.org Git - lyx.git/blobdiff - src/BufferView_pimpl.C
better latin3&4 support
[lyx.git] / src / BufferView_pimpl.C
index 03354332484a0715c8fbbe30f0348336be748dcc..c52616df71ff8a84f4f757982312a85d668ecb1c 100644 (file)
@@ -698,7 +698,7 @@ void BufferView::Pimpl::doubleClick(int /*x*/, int /*y*/, unsigned int button)
 void BufferView::Pimpl::tripleClick(int /*x*/, int /*y*/, unsigned int button)
 {
        // select a line
-       if (buffer_)
+       if (!buffer_)
                return;
 
        LyXText * text = bv_->getLyXText();
@@ -1039,7 +1039,7 @@ void BufferView::Pimpl::update(LyXText * text, BufferView::UpdateCodes f)
 
        if (text->inset_owner) {
                text->inset_owner->setUpdateStatus(bv_, InsetText::NONE);
-           updateInset(text->inset_owner, true);
+           updateInset(text->inset_owner, false);
        } else {
            update();
        }