]> git.lyx.org Git - features.git/commitdiff
* GuiIndices.cpp: cosmetics (corretly resize TW column).
authorJürgen Spitzmüller <spitz@lyx.org>
Mon, 17 Aug 2009 07:49:28 +0000 (07:49 +0000)
committerJürgen Spitzmüller <spitz@lyx.org>
Mon, 17 Aug 2009 07:49:28 +0000 (07:49 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31083 a592a061-630c-0410-9148-cb99ea01b6c8

src/frontends/qt4/GuiIndices.cpp

index 5ab141c70cd05a376f7e15835510b417515d3204..a3f609bd6a44addb216ea80f37bc00ea05e0af34 100644 (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);