Tab of crud view now shows name of the table.

This commit is contained in:
eelke 2018-01-15 13:31:06 +01:00
parent a543ccb021
commit 07c1b63d44

View file

@ -50,7 +50,7 @@ void MainWindow::newCrudPage(const PgClass &table)
{
CrudTab *ct = new CrudTab(this);
ct->setConfig(m_database, table);
ui->tabWidget->addTab(ct, "CRUD");
ui->tabWidget->addTab(ct, table.name);
ui->tabWidget->setCurrentWidget(ct);
}