mirror of
https://github.com/sqlitebrowser/sqlitebrowser.git
synced 2026-01-19 18:40:13 -06:00
CreateIndexDialog: Minor code simplification
This commit is contained in:
@@ -85,7 +85,7 @@ void CreateIndexDialog::accept()
|
||||
.arg(qobject_cast<QComboBox*>(ui->tableIndexColumns->cellWidget(i, 2))->currentText()));
|
||||
}
|
||||
}
|
||||
sql.remove(sql.count() - 1, 1); // Remove last comma
|
||||
sql.chop(1); // Remove last comma
|
||||
sql.append(");");
|
||||
|
||||
if(pdb->executeSQL(sql))
|
||||
|
||||
Reference in New Issue
Block a user