git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26468 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
André Pönitz 2008-09-20 13:55:37 +00:00
parent fc86915b0c
commit 47821c7a2c

View File

@ -188,7 +188,7 @@ void GuiSelectionManager::addPB_clicked()
if (selIdx.isEmpty())
return;
QModelIndex const idxToAdd = selectedLV->currentIndex();
QModelIndex const idxToAdd = selIdx.first();
QModelIndex const idx = selectedLV->currentIndex();
int const srows = selectedModel->rowCount();