Fix crash when opening setting window

This commit is contained in:
WarmUpTill 2024-03-03 19:49:56 +01:00 committed by WarmUpTill
parent 902715bd3e
commit 8080abc93c

View File

@ -102,7 +102,6 @@ static void removeVariableRow(QTableWidget *table, const QString &name)
static void updateVaribleStatus(QTableWidget *table)
{
auto lock = LockContext();
for (int row = 0; row < table->rowCount(); row++) {
auto item = table->item(row, 0);
if (!item) {