diff options
author | Kenneth Chew <kenneth.c0@protonmail.com> | 2022-04-05 20:27:31 -0400 |
---|---|---|
committer | Kenneth Chew <kenneth.c0@protonmail.com> | 2022-04-15 15:37:07 -0400 |
commit | 2cb242e9b3174137b5ff97d3781ae253e8208843 (patch) | |
tree | 9177b783e37be4fcd00f2f52718bb1cb8ee0f914 /launcher/ui/pages/modplatform | |
parent | 7aeccbb6b0e5f0af01c98d4dc5eb322888a45900 (diff) | |
download | PrismLauncher-2cb242e9b3174137b5ff97d3781ae253e8208843.tar.gz PrismLauncher-2cb242e9b3174137b5ff97d3781ae253e8208843.tar.bz2 PrismLauncher-2cb242e9b3174137b5ff97d3781ae253e8208843.zip |
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.
Diffstat (limited to 'launcher/ui/pages/modplatform')
-rw-r--r-- | launcher/ui/pages/modplatform/VanillaPage.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/launcher/ui/pages/modplatform/VanillaPage.cpp b/launcher/ui/pages/modplatform/VanillaPage.cpp index a99f107e..64015eb7 100644 --- a/launcher/ui/pages/modplatform/VanillaPage.cpp +++ b/launcher/ui/pages/modplatform/VanillaPage.cpp @@ -121,6 +121,7 @@ void VanillaPage::loaderFilterChanged() ui->loaderVersionList->setExactFilter(BaseVersionList::ParentVersionRole, "AAA"); // empty list // TODO: The below message does not show when the add instance window is first opened. This should be fixed. ui->loaderVersionList->setEmptyString(tr("No mod loader is selected.")); + ui->loaderVersionList->setEmptyMode(VersionListView::String); return; } else if(ui->forgeFilter->isChecked()) |