mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +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())
|
if (!index.isValid())
|
||||||
return QVariant();
|
return QVariant();
|
||||||
|
if (role == Qt::BackgroundColorRole)
|
||||||
|
if (index.row() == 0)
|
||||||
|
return QVariant(AIR_BLUE_TRANS);
|
||||||
|
|
||||||
if (role != Qt::DisplayRole)
|
if (role != Qt::DisplayRole)
|
||||||
return QVariant();
|
return QVariant();
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue