diff options
author | Petr Mrázek <peterix@gmail.com> | 2018-07-31 01:54:08 +0200 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2018-07-31 01:54:08 +0200 |
commit | 0c73ddee73e7383d5b81185381fa1c762fcb1147 (patch) | |
tree | 7193eb7bdd3e836ab8f150d3575d866bb2df3d9d /application/dialogs/CopyInstanceDialog.cpp | |
parent | 9965decd81b8e8ca98d610f605263ccf4ce541e1 (diff) | |
download | MultiMC-0c73ddee73e7383d5b81185381fa1c762fcb1147.tar MultiMC-0c73ddee73e7383d5b81185381fa1c762fcb1147.tar.gz MultiMC-0c73ddee73e7383d5b81185381fa1c762fcb1147.tar.lz MultiMC-0c73ddee73e7383d5b81185381fa1c762fcb1147.tar.xz MultiMC-0c73ddee73e7383d5b81185381fa1c762fcb1147.zip |
NOISSUE set groups for instances by not setting groups for instances
So simple. Better in every way.
Diffstat (limited to 'application/dialogs/CopyInstanceDialog.cpp')
-rw-r--r-- | application/dialogs/CopyInstanceDialog.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/application/dialogs/CopyInstanceDialog.cpp b/application/dialogs/CopyInstanceDialog.cpp index b16684c6..78f7512e 100644 --- a/application/dialogs/CopyInstanceDialog.cpp +++ b/application/dialogs/CopyInstanceDialog.cpp @@ -45,7 +45,7 @@ CopyInstanceDialog::CopyInstanceDialog(InstancePtr original, QWidget *parent) groupList.removeOne(""); groupList.push_front(""); ui->groupBox->addItems(groupList); - int index = groupList.indexOf(m_original->group()); + int index = groupList.indexOf(MMC->instances()->getInstanceGroup(m_original->id())); if(index == -1) { index = 0; |