Show no loader selected message when add instance window first opens

This resolves an issue where the message only shows when selecting a mod loader and then selecting "None" again.
This commit is contained in:
Kenneth Chew
2022-04-05 20:27:31 -04:00
parent 7aeccbb6b0
commit 2cb242e9b3
3 changed files with 8 additions and 1 deletions

View File

@ -4,7 +4,6 @@
#include <QVBoxLayout>
#include <QHeaderView>
#include "VersionListView.h"
#include "VersionProxyModel.h"
#include "ui/dialogs/CustomMessageBox.h"
@ -57,6 +56,11 @@ void VersionSelectWidget::setEmptyErrorString(QString emptyErrorString)
listView->setEmptyErrorString(emptyErrorString);
}
void VersionSelectWidget::setEmptyMode(VersionListView::EmptyMode mode)
{
listView->setEmptyMode(mode);
}
VersionSelectWidget::~VersionSelectWidget()
{
}