Re-add the string removed upon drop operation
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
6149004f47
commit
b7e27e3141
@ -29,7 +29,9 @@ ColumnNameProvider::ColumnNameProvider(QObject *parent) : QAbstractListModel(par
|
||||
|
||||
bool ColumnNameProvider::insertRows(int row, int count, const QModelIndex &parent)
|
||||
{
|
||||
|
||||
beginInsertRows(QModelIndex(), row, row);
|
||||
columnNames.append(QString());
|
||||
endInsertRows();
|
||||
}
|
||||
|
||||
bool ColumnNameProvider::removeRows(int row, int count, const QModelIndex &parent)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user