]> git.lyx.org Git - features.git/commitdiff
TocWidget: fix part of #9825
authorGuillaume Munch <gm@lyx.org>
Mon, 30 May 2016 21:11:27 +0000 (22:11 +0100)
committerGuillaume Munch <gm@lyx.org>
Mon, 30 May 2016 23:14:13 +0000 (00:14 +0100)
src/frontends/qt4/TocWidget.cpp

index ff929c08f73b388ae5428645f6f16cde6d615f70..e98786b9d91048daa1c706d8decbd575de337610 100644 (file)
@@ -246,6 +246,7 @@ void TocWidget::on_tocTV_pressed(QModelIndex const & index)
        if (button & Qt::LeftButton) {
                goTo(index);
                gui_view_.setFocus();
+               gui_view_.activateWindow();
        }
 }