diff --git a/application/MainWindow.cpp b/application/MainWindow.cpp index ca6754b5..8b85f1ce 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: