index: Support creating indices without sorting

See issue #176.
This commit is contained in:
Martin Kleusberg
2014-12-26 16:20:20 +01:00
parent e01307aa73
commit 0f4ac7e89c

View File

@@ -47,6 +47,7 @@ void CreateIndexDialog::tableChanged(const QString& new_table)
// And put a combobox to select the order in which to index the field in the last column
QComboBox* order = new QComboBox(this);
order->addItem("");
order->addItem("ASC");
order->addItem("DESC");
ui->tableIndexColumns->setCellWidget(i, 2, order);