mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-07-05 21:06:58 +03: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:
parent
7aeccbb6b0
commit
2cb242e9b3
3 changed files with 8 additions and 1 deletions
|
|
@ -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()
|
||||
{
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue