]> OCCT Git - occt-copy.git/commitdiff
0029451: Information Message Alert to debug an algorithm or object functionality...
authornds <nds@opencascade.com>
Wed, 3 Apr 2019 08:10:49 +0000 (11:10 +0300)
committernds <nds@opencascade.com>
Wed, 3 Apr 2019 08:10:49 +0000 (11:10 +0300)
tools/ViewControl/ViewControl_TableModelValues.cxx

index d5274b7a1ab795e153c9c86f07a090063b22ca22..bccb3d24ec4816486be4988b5867fc7d94213c4b 100644 (file)
@@ -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;
 }
 
 // =======================================================================