Merge branch '61-update-index-sql-when-switching-tables' into 'master'
The normal copy now works for SQL definition views. Closes #61 See merge request eelke/pgLab!8
This commit is contained in:
commit
e896225cd6
1 changed files with 1 additions and 1 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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue