From 0c73ddee73e7383d5b81185381fa1c762fcb1147 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Mr=C3=A1zek?= Date: Tue, 31 Jul 2018 01:54:08 +0200 Subject: NOISSUE set groups for instances by not setting groups for instances So simple. Better in every way. --- application/dialogs/CopyInstanceDialog.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'application/dialogs') 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; -- cgit v1.2.3