From: nds Date: Wed, 3 Apr 2019 08:10:49 +0000 (+0300) Subject: 0029451: Information Message Alert to debug an algorithm or object functionality... X-Git-Url: http://git.dev.opencascade.org/gitweb/?a=commitdiff_plain;h=90a10c5374197c5f199f03dcae3a5ed84a5bca9c;p=occt-copy.git 0029451: Information Message Alert to debug an algorithm or object functionality - compilation correction. --- 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; } // =======================================================================