Implemented search in shop items on ShopForm. Prepare for favorite buttons.
This commit is contained in:
@@ -23,7 +23,7 @@ Qt::ItemFlags ITableModel::flags(const QModelIndex &index) const
|
||||
return Qt::ItemIsSelectable | Qt::ItemIsEditable | Qt::ItemIsEnabled;
|
||||
}
|
||||
|
||||
return QAbstractTableModel::flags(index);
|
||||
return QAbstractTableModel::flags(index) | Qt::ItemIsDragEnabled;
|
||||
}
|
||||
|
||||
void ITableModel::setEditableCols(const QList<int> cols)
|
||||
|
||||
Reference in New Issue
Block a user