Updating of detail tabs besides list of tables works correctly again.
Had stopped working because the catalog now behaves a little different, returning nullptr instead of an invalid element.
This commit is contained in:
parent
fcb191f2cc
commit
52011a9842
12 changed files with 114 additions and 92 deletions
|
|
@ -45,9 +45,9 @@ void TriggerPage::setCatalog(std::shared_ptr<const PgDatabaseCatalog> cat)
|
|||
}
|
||||
|
||||
|
||||
void TriggerPage::setFilter(const PgClass &cls)
|
||||
void TriggerPage::setFilter(const std::optional<PgClass> &cls)
|
||||
{
|
||||
m_sortFilterProxy->setOidFilterTable(cls.oid, FirstHiddenValue);
|
||||
m_sortFilterProxy->setOidFilterTable(cls ? cls->oid : InvalidOid, FirstHiddenValue);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue