mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-07 12:32:26 +00:00
This is worth having here anyway.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33703 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
0bddd759d7
commit
56d89dbff9
@ -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();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user