]> 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>
Fri, 18 Apr 2014 14:52:46 +0000 (10:52 -0400)
src/frontends/qt4/TocWidget.cpp
status.21x

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: {
index f829ec2ad9cf9f3d3eaa976b3145a06dbe34ea60..beb8f74aaba4ebc1f541dedd6a51690926779eaf 100644 (file)
@@ -57,6 +57,8 @@ What's new
 
 - Failed instant preview compilation now returns an error. And a red box is 
   drawn around very small preview imagines, so they can be seen (bug 7522).
+
+- Fix "Select Section" function in the Outliner (bug 8936).
   
 
 * DOCUMENTATION AND LOCALIZATION