mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-12 16:50:39 +00:00
Fix bug #7285 in branch, too.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@37553 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
202d7e34ae
commit
e851168cb7
@ -76,9 +76,8 @@ bool GuiIdListModel::insertRows(int row, int count,
|
||||
if (!rowIsValid(row))
|
||||
return false;
|
||||
vector<OurData>::iterator it = userData_.begin() + row;
|
||||
OurData const v;
|
||||
beginInsertRows(QModelIndex(), row, row + count - 1);
|
||||
userData_.insert(it, count, v);
|
||||
userData_.insert(it, count, OurData());
|
||||
endInsertRows();
|
||||
return true;
|
||||
}
|
||||
|
@ -15,6 +15,7 @@
|
||||
|
||||
#include "support/strfwd.h"
|
||||
|
||||
#include <cstddef>
|
||||
#include <vector>
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user