Commit d55c5666 authored by Bob Obara's avatar Bob Obara Committed by Kitware Robot

Merge topic 'fixAttributeViewColorCrash'

26343119 BUG: qtAttributeView crashes if you click on the type column
Acked-by: Kitware Robot's avatarKitware Robot <kwrobot@kitware.com>
Merge-request: !1660
parents 672aa2a0 26343119
Pipeline #142080 running with stage
......@@ -1500,7 +1500,7 @@ void qtAttributeView::onListBoxClicked(QTableWidgetItem* item)
{
if (this->Internals->ViewByCombo->currentIndex() == VIEWBY_Attribute)
{
bool isColor = item->column() == 2;
bool isColor = item->column() == color_column;
if (isColor)
{
QTableWidgetItem* selItem = this->Internals->ListTable->item(item->row(), 0);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment