diff --git a/lib/variables/variable-tab.cpp b/lib/variables/variable-tab.cpp index 73be6dee..98fb14c0 100644 --- a/lib/variables/variable-tab.cpp +++ b/lib/variables/variable-tab.cpp @@ -154,6 +154,15 @@ static void updateVariableStatus(QTableWidget *table) UpdateItemTableRow(table, row, getCellLabels(variable.get(), false)); + + // Special tooltip handling for the "last used" cell + const auto lastUsedItem = table->item(row, 4); + if (!lastUsedItem) { + continue; + } + const auto lastUsedTooltip = + formatLastChangedTooltip(variable.get()); + lastUsedItem->setToolTip(lastUsedTooltip); } }