diff options
| author | isanae <14251494+isanae@users.noreply.github.com> | 2020-07-26 21:07:13 -0400 |
|---|---|---|
| committer | isanae <14251494+isanae@users.noreply.github.com> | 2020-11-03 11:39:06 -0500 |
| commit | a97638249de0a9a4c17dc28805c35df489a64e26 (patch) | |
| tree | 3d1beec5e287b2fff45012beef3e62ec24fa08ea /src/createinstancedialog.cpp | |
| parent | b1e681e129d87cb2f8aab89a734ab7b185975bcd (diff) | |
moved switch to instance to InstanceManager
double-click an instance to switch to it (disabled for now, not sure I want that)
Diffstat (limited to 'src/createinstancedialog.cpp')
| -rw-r--r-- | src/createinstancedialog.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/createinstancedialog.cpp b/src/createinstancedialog.cpp index 2edfee88..75ccc774 100644 --- a/src/createinstancedialog.cpp +++ b/src/createinstancedialog.cpp @@ -300,8 +300,7 @@ void CreateInstanceDialog::finish() } if (ui->launch->isChecked()) { - InstanceManager::instance().setCurrentInstance(ci.instanceName); - ExitModOrganizer(Exit::Restart); + InstanceManager::instance().switchToInstance(ci.instanceName); } else { close(); } |
