diff --git a/application/MainWindow.cpp b/application/MainWindow.cpp index ca6754b53..8b85f1ceb 100644 --- a/application/MainWindow.cpp +++ b/application/MainWindow.cpp @@ -1249,9 +1249,9 @@ void MainWindow::on_actionCopyInstance_triggered() { case InstanceList::NoCreateError: newInstance->setName(copyInstDlg.instName()); - newInstance->setGroupInitial(copyInstDlg.instGroup()); newInstance->setIconKey(copyInstDlg.iconKey()); MMC->instances()->add(newInstance); + newInstance->setGroupPost(copyInstDlg.instGroup()); return; case InstanceList::InstExists: