cosmetics/file encoding.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28508 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jürgen Spitzmüller 2009-02-16 08:19:40 +00:00
parent c60b90cd15
commit acab294b87
2 changed files with 3 additions and 2 deletions

View File

@ -4,7 +4,7 @@
* This file is part of LyX, the document processor.
* Licence details can be found in the file COPYING.
*
* \author André Pönitz
* \author André Pönitz
*
* Full author contact details are available in file CREDITS.
*/

View File

@ -274,7 +274,8 @@ void TocWidget::updateView()
tocTV->setEnabled(false);
tocTV->setUpdatesEnabled(false);
QAbstractItemModel * toc_model = gui_view_.tocModels().model(current_type_);
QAbstractItemModel * toc_model =
gui_view_.tocModels().model(current_type_);
if (tocTV->model() != toc_model) {
tocTV->setModel(toc_model);
tocTV->setEditTriggers(QAbstractItemView::NoEditTriggers);