NOISSUE show errors for instance updates in edit instance window

This commit is contained in:
Petr Mrázek 2015-04-08 13:50:21 +02:00
parent 32f45578fd
commit 994c815bb9
2 changed files with 9 additions and 0 deletions

View File

@ -320,3 +320,9 @@ void VersionPage::versionCurrent(const QModelIndex &current, 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();
}

View File

@ -75,4 +75,7 @@ private:
public public
slots: slots:
void versionCurrent(const QModelIndex &current, const QModelIndex &previous); void versionCurrent(const QModelIndex &current, const QModelIndex &previous);
private slots:
void onGameUpdateError(QString error);
}; };