]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/TocWidget.cpp
fix completion painting for RTL (inline completion and completion list)
[lyx.git] / src / frontends / qt4 / TocWidget.cpp
index 823de4de23541690c64c21b14191198141a76dbb..d46a7d3a65c58799809fcba16129094319e0154b 100644 (file)
@@ -108,6 +108,7 @@ void TocWidget::on_depthSL_valueChanged(int depth)
        if (depth == depth_)
                return;
        setTreeDepth(depth);
+       gui_view_.setFocus();
 }
 
 
@@ -134,6 +135,7 @@ void TocWidget::setTreeDepth(int depth)
 void TocWidget::on_typeCO_currentIndexChanged(int value)
 {
        setTocModel(value);
+       gui_view_.setFocus();
 }
 
 
@@ -147,6 +149,7 @@ void TocWidget::outline(int func_code)
        goTo(list[0]);
        dispatch(FuncRequest(static_cast<FuncCode>(func_code)));
        enableControls(true);
+       gui_view_.setFocus();
 }