* GuiIndices.cpp: cosmetics (corretly resize TW column).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31083 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jürgen Spitzmüller 2009-08-17 07:49:28 +00:00
parent 06cf68b542
commit 313f7a2842

View File

@ -123,6 +123,7 @@ void GuiIndices::updateView()
indicesTW->setItemSelected(newItem, true);
}
}
indicesTW->resizeColumnToContents(0);
bool const have_sel =
!indicesTW->selectedItems().isEmpty();
removePB->setEnabled(have_sel);