mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2025-06-12 05:07:46 +02:00
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:
@ -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()
|
||||
{
|
||||
}
|
||||
|
Reference in New Issue
Block a user