From a62cfc602411edca6c4ce48579119fa2eaba16eb Mon Sep 17 00:00:00 2001 From: Juergen Spitzmueller Date: Fri, 21 Mar 2014 10:21:18 +0100 Subject: [PATCH] Fix section-select when issued from outliner Fixes: #8936 --- src/frontends/qt4/TocWidget.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/frontends/qt4/TocWidget.cpp b/src/frontends/qt4/TocWidget.cpp index bfdc9f06ca..da9f0dd28a 100644 --- a/src/frontends/qt4/TocWidget.cpp +++ b/src/frontends/qt4/TocWidget.cpp @@ -187,9 +187,15 @@ void TocWidget::doDispatch(Cursor & cur, FuncRequest const & cmd) { case LFUN_CHANGE_ACCEPT: case LFUN_CHANGE_REJECT: + dispatch(item.action()); + cur.dispatch(tmpcmd); + break; + case LFUN_SECTION_SELECT: dispatch(item.action()); cur.dispatch(tmpcmd); + // necessary to get the selection drawn. + cur.buffer()->changed(true); break; case LFUN_LABEL_COPY_AS_REF: {