NOISSUE save group file after copying instance

This commit is contained in:
Petr Mrázek 2015-04-19 21:02:34 +02:00
parent 07bebddac9
commit 8fa58dc244

View File

@ -1249,9 +1249,9 @@ void MainWindow::on_actionCopyInstance_triggered()
{ {
case InstanceList::NoCreateError: case InstanceList::NoCreateError:
newInstance->setName(copyInstDlg.instName()); newInstance->setName(copyInstDlg.instName());
newInstance->setGroupInitial(copyInstDlg.instGroup());
newInstance->setIconKey(copyInstDlg.iconKey()); newInstance->setIconKey(copyInstDlg.iconKey());
MMC->instances()->add(newInstance); MMC->instances()->add(newInstance);
newInstance->setGroupPost(copyInstDlg.instGroup());
return; return;
case InstanceList::InstExists: case InstanceList::InstExists: