NOISSUE show errors for instance updates in edit instance window
This commit is contained in:
parent
32f45578fd
commit
994c815bb9
@ -320,3 +320,9 @@ void VersionPage::versionCurrent(const QModelIndex ¤t, const QModelIndex &
|
|||||||
ui->changeMCVersionBtn->setEnabled(false);
|
ui->changeMCVersionBtn->setEnabled(false);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void VersionPage::onGameUpdateError(QString error)
|
||||||
|
{
|
||||||
|
CustomMessageBox::selectable(this, tr("Error updating instance"), error,
|
||||||
|
QMessageBox::Warning)->show();
|
||||||
|
}
|
||||||
|
@ -75,4 +75,7 @@ private:
|
|||||||
public
|
public
|
||||||
slots:
|
slots:
|
||||||
void versionCurrent(const QModelIndex ¤t, const QModelIndex &previous);
|
void versionCurrent(const QModelIndex ¤t, const QModelIndex &previous);
|
||||||
|
|
||||||
|
private slots:
|
||||||
|
void onGameUpdateError(QString error);
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user