mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-07-01 02:46:59 +03:00
Notify the user of any errors
This commit is contained in:
parent
c01678a3fa
commit
5d0868a056
4 changed files with 19 additions and 7 deletions
|
|
@ -140,7 +140,10 @@ void OneSixModEditDialog::on_customEditorBtn_clicked()
|
|||
{
|
||||
if (m_inst->versionIsCustom())
|
||||
{
|
||||
MMC->openJsonEditor(m_inst->instanceRoot() + "/custom.json");
|
||||
if (!MMC->openJsonEditor(m_inst->instanceRoot() + "/custom.json"))
|
||||
{
|
||||
QMessageBox::warning(this, tr("Error"), tr("Unable to open custom.json, check the settings"));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue