mirror of
https://github.com/WarmUpTill/SceneSwitcher.git
synced 2026-03-21 17:34:57 -05:00
Re-add tooltips for the "last used" cells on the variable tab
This commit is contained in:
parent
1f1ef4ca03
commit
91c053dfd8
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user