Skip to content

Commit

Permalink
Update variable tooltip when data has changed
Browse files Browse the repository at this point in the history
  • Loading branch information
boutinb committed Jun 20, 2024
1 parent f9fd58b commit 3a5a8e9
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions QMLComponents/models/listmodel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -694,6 +694,11 @@ void ListModel::sourceColumnsChanged(QStringList columns)

if (changedColumns.size() > 0)
{
for (const QString& col : changedColumns)
{
int i = terms().indexOf(col);
emit dataChanged(index(1,0), index(i,0));
}
emit columnsChanged(changedColumns);

if (listView()->isBound())
Expand Down

0 comments on commit 3a5a8e9

Please sign in to comment.