aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--qt-ui/divelogimportdialog.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/qt-ui/divelogimportdialog.cpp b/qt-ui/divelogimportdialog.cpp
index e3938608e..b2100d26a 100644
--- a/qt-ui/divelogimportdialog.cpp
+++ b/qt-ui/divelogimportdialog.cpp
@@ -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();