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:
eelke 2018-11-18 20:24:27 +01:00
parent fcb191f2cc
commit 52011a9842
12 changed files with 114 additions and 92 deletions

View file

@ -3,6 +3,7 @@
#include <QSplitter>
#include <memory>
#include <optional>
class QTableView;
class SqlCodePreview;
@ -20,7 +21,7 @@ public:
// TriggerPage(QWidget *parent = nullptr);
void setCatalog(std::shared_ptr<const PgDatabaseCatalog> cat);
void setFilter(const PgClass &cls);
void setFilter(const std::optional<PgClass> &cls);
signals:
public slots: