]> git.lyx.org Git - features.git/commitdiff
Focus on buffer after section select in Outliner
authorScott Kostyshak <skostysh@lyx.org>
Fri, 21 Mar 2014 23:34:46 +0000 (19:34 -0400)
committerRichard Heck <rgheck@lyx.org>
Mon, 21 Apr 2014 15:51:57 +0000 (11:51 -0400)
src/frontends/qt4/TocWidget.cpp

index 2069035abe732aee217e05f260ef5cee3ddbe367..83ac1bf12c2e3202860a463c951372dd4a3da701 100644 (file)
@@ -196,6 +196,7 @@ void TocWidget::doDispatch(Cursor & cur, FuncRequest const & cmd)
                cur.dispatch(tmpcmd);
                // necessary to get the selection drawn.
                cur.buffer()->changed(true);
+               gui_view_.setFocus();
                break;
 
        case LFUN_LABEL_COPY_AS_REFERENCE: {