The normal copy now works for SQL definition views. #83
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