From 56d89dbff9f143fed12b2c845f80aadfdeb26c25 Mon Sep 17 00:00:00 2001 From: Richard Heck Date: Wed, 10 Mar 2010 18:43:10 +0000 Subject: [PATCH] This is worth having here anyway. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33703 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/frontends/qt4/TocWidget.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/frontends/qt4/TocWidget.cpp b/src/frontends/qt4/TocWidget.cpp index 8d8c00e4e1..b8de46efef 100644 --- a/src/frontends/qt4/TocWidget.cpp +++ b/src/frontends/qt4/TocWidget.cpp @@ -315,11 +315,6 @@ void TocWidget::on_typeCO_currentIndexChanged(int index) { current_type_ = typeCO->itemData(index).toString(); updateView(); - // In Qt 4.6.x, we can end up here programmatically, when the - // model is rebuilt. But the Buffer may not be ready for us to - // reset focus, start the cursor, etc. So we check to see if the - // combo box has focus. It will, if the user has changed the - // value. if (typeCO->hasFocus()) gui_view_.setFocus(); } -- 2.39.2