Merge branch 'master' of ssh://git@gitlab.com:/eelke/pgLab.git
This commit is contained in:
commit
4ea388cad7
4 changed files with 12 additions and 4 deletions
|
|
@ -389,7 +389,7 @@ void DatabaseWindow::on_actionCopy_triggered()
|
|||
}
|
||||
else {
|
||||
const QMetaObject *meta = w->metaObject();
|
||||
int i = meta->indexOfSlot("copy");
|
||||
int i = meta->indexOfMethod("copy()");
|
||||
if (i != -1) {
|
||||
QMetaMethod method = meta->method(i);
|
||||
method.invoke(w, Qt::AutoConnection);
|
||||
|
|
|
|||
|
|
@ -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*/)
|
||||
|
|
|
|||
|
|
@ -26,6 +26,7 @@ void CatalogIndexPage::setFilter(const std::optional<PgClass> &cls)
|
|||
{
|
||||
m_indexModel->setData(m_catalog, cls);
|
||||
m_tableView->resizeColumnsToContents();
|
||||
m_definitionView->setPlainText({});
|
||||
}
|
||||
|
||||
void CatalogIndexPage::tableView_selectionChanged(const QItemSelection &/*selected*/, const QItemSelection &/*deselected*/)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue