From 90a10c5374197c5f199f03dcae3a5ed84a5bca9c Mon Sep 17 00:00:00 2001 From: nds Date: Wed, 3 Apr 2019 11:10:49 +0300 Subject: [PATCH] 0029451: Information Message Alert to debug an algorithm or object functionality - compilation correction. --- tools/ViewControl/ViewControl_TableModelValues.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/ViewControl/ViewControl_TableModelValues.cxx b/tools/ViewControl/ViewControl_TableModelValues.cxx index d5274b7a1a..bccb3d24ec 100644 --- a/tools/ViewControl/ViewControl_TableModelValues.cxx +++ b/tools/ViewControl/ViewControl_TableModelValues.cxx @@ -143,7 +143,7 @@ Qt::ItemFlags ViewControl_TableModelValues::Flags (const QModelIndex& theIndex) { return GetProperties()->GetTableFlags (theIndex.row(), theIndex.column()); } - return Qt::NoItemFlags; + return theIndex.isValid() ? Qt::ItemIsEnabled | Qt::ItemIsSelectable : Qt::NoItemFlags; } // ======================================================================= -- 2.39.5