mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-30 22:20:21 +00:00
CVS import UI: mark the drop row in blue
That way it is distinct from the rest. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
2f5d4720e9
commit
02103978ec
1 changed files with 4 additions and 0 deletions
|
@ -226,6 +226,10 @@ QVariant ColumnNameResult::data(const QModelIndex &index, int role) const
|
|||
{
|
||||
if (!index.isValid())
|
||||
return QVariant();
|
||||
if (role == Qt::BackgroundColorRole)
|
||||
if (index.row() == 0)
|
||||
return QVariant(AIR_BLUE_TRANS);
|
||||
|
||||
if (role != Qt::DisplayRole)
|
||||
return QVariant();
|
||||
|
||||
|
|
Loading…
Reference in a new issue