1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-09-13 14:27:08 +03:00

0029451: Information Message Alert to debug an algorithm or object functionality - compilation correction.

This commit is contained in:
nds
2019-04-03 11:10:49 +03:00
parent 72ccfc2629
commit 90a10c5374

View 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;
}
// =======================================================================