The normal copy now works for SQL definition views. #83

Merged
eelke merged 1 commit from 61-update-index-sql-when-switching-tables into master 2019-10-06 07:31:49 +00:00
Showing only changes of commit 45c3a0480b - Show all commits

View file

@ -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);