fix: update sql for indexes and constraints
When another table is selected the index and constraint list are reloaded and have no selection. So the SQL for the selection should be empty.
This commit is contained in:
parent
2c615f3b96
commit
e55b0b7f37
2 changed files with 2 additions and 0 deletions
|
|
@ -26,6 +26,7 @@ void CatalogConstraintPage::setFilter(const std::optional<PgClass> &cls)
|
|||
{
|
||||
m_constraintModel->setData(m_catalog, cls);
|
||||
m_tableView->resizeColumnsToContents();
|
||||
m_definitionView->setPlainText({});
|
||||
}
|
||||
|
||||
void CatalogConstraintPage::tableView_selectionChanged(const QItemSelection &/*selected*/, const QItemSelection &/*deselected*/)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue