mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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
1 changed files with 3 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue