NOISSUE add option to open global settings from instance settings
This should hopefully giude people towards using the right thing.
This commit is contained in:
parent
59e1ed3d87
commit
932160818e
10 changed files with 55 additions and 53 deletions
|
@ -9,7 +9,6 @@
|
|||
#include "InstanceWindow.h"
|
||||
#include "BuildConfig.h"
|
||||
#include "JavaCommon.h"
|
||||
#include "SettingsUI.h"
|
||||
#include <QLineEdit>
|
||||
#include <QInputDialog>
|
||||
#include <tasks/Task.h>
|
||||
|
@ -53,7 +52,7 @@ void LaunchController::login()
|
|||
if (reply == QMessageBox::Yes)
|
||||
{
|
||||
// Open the account manager.
|
||||
SettingsUI::ShowPageDialog(MMC->globalSettingsPages(), m_parentWidget, "accounts");
|
||||
MMC->ShowGlobalSettings(m_parentWidget, "accounts");
|
||||
}
|
||||
}
|
||||
else if (account.get() == nullptr)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue