diff options
author | Petr Mrázek <peterix@gmail.com> | 2014-05-11 20:06:06 +0200 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2014-06-09 01:38:30 +0200 |
commit | 8c71a5d61f20642711bff081be9be3807418e618 (patch) | |
tree | e457cf3dae73a129ef403c448ac49db020760f2e /gui/MainWindow.cpp | |
parent | 6d34411f54f8db9fdec2d4a3acc82eedb65f6b36 (diff) | |
download | MultiMC-8c71a5d61f20642711bff081be9be3807418e618.tar MultiMC-8c71a5d61f20642711bff081be9be3807418e618.tar.gz MultiMC-8c71a5d61f20642711bff081be9be3807418e618.tar.lz MultiMC-8c71a5d61f20642711bff081be9be3807418e618.tar.xz MultiMC-8c71a5d61f20642711bff081be9be3807418e618.zip |
Move instance settings back to the main window.
Diffstat (limited to 'gui/MainWindow.cpp')
-rw-r--r-- | gui/MainWindow.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/gui/MainWindow.cpp b/gui/MainWindow.cpp index be1b9fd8..568607a7 100644 --- a/gui/MainWindow.cpp +++ b/gui/MainWindow.cpp @@ -941,6 +941,16 @@ void MainWindow::on_actionSettings_triggered() updateToolsMenu(); } +void MainWindow::on_actionInstanceSettings_triggered() +{ + if (m_selectedInstance) + { + InstanceSettings settings(&m_selectedInstance->settings(), this); + settings.setWindowTitle(tr("Instance settings")); + settings.exec(); + } +} + void MainWindow::on_actionManageAccounts_triggered() { AccountListDialog dialog(this); |