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:
Tomaz Canabrava 2015-01-06 15:30:59 -02:00 committed by Dirk Hohndel
parent 6149004f47
commit b7e27e3141

View file

@ -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)