summaryrefslogtreecommitdiffstats
path: root/application
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2015-04-19 21:02:34 +0200
committerPetr Mrázek <peterix@gmail.com>2015-04-19 21:02:34 +0200
commit8fa58dc24401206c9bf1726bb171d7ee928b1363 (patch)
treeec17c3a950a7fb3aa020b2fa021bb9b988e38c15 /application
parent07bebddac960bdee82c0a48a6925a49555f661ac (diff)
downloadMultiMC-8fa58dc24401206c9bf1726bb171d7ee928b1363.tar
MultiMC-8fa58dc24401206c9bf1726bb171d7ee928b1363.tar.gz
MultiMC-8fa58dc24401206c9bf1726bb171d7ee928b1363.tar.lz
MultiMC-8fa58dc24401206c9bf1726bb171d7ee928b1363.tar.xz
MultiMC-8fa58dc24401206c9bf1726bb171d7ee928b1363.zip
NOISSUE save group file after copying instance
Diffstat (limited to 'application')
-rw-r--r--application/MainWindow.cpp2
1 files changed, 1 insertions, 1 deletions
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: