diff options
author | flow <thiagodonato300@gmail.com> | 2022-02-21 22:51:58 -0300 |
---|---|---|
committer | flow <thiagodonato300@gmail.com> | 2022-02-21 22:52:50 -0300 |
commit | 1004211a66370f2f39b81fdfc05e0e3645e91b90 (patch) | |
tree | 34e9c22174d2fdf7f4deb340f37fe79e8ef8e031 /launcher | |
parent | f5cf4eb45f6610851367bdcab7b87766bed14288 (diff) | |
download | PrismLauncher-1004211a66370f2f39b81fdfc05e0e3645e91b90.tar.gz PrismLauncher-1004211a66370f2f39b81fdfc05e0e3645e91b90.tar.bz2 PrismLauncher-1004211a66370f2f39b81fdfc05e0e3645e91b90.zip |
fix(ui): change text in selection button when there's no valid version
Diffstat (limited to 'launcher')
-rw-r--r-- | launcher/ui/pages/modplatform/flame/FlameModPage.cpp | 1 | ||||
-rw-r--r-- | launcher/ui/pages/modplatform/modrinth/ModrinthPage.cpp | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/launcher/ui/pages/modplatform/flame/FlameModPage.cpp b/launcher/ui/pages/modplatform/flame/FlameModPage.cpp index 728c3641..41ad9e28 100644 --- a/launcher/ui/pages/modplatform/flame/FlameModPage.cpp +++ b/launcher/ui/pages/modplatform/flame/FlameModPage.cpp @@ -152,6 +152,7 @@ void FlameModPage::onSelectionChanged(QModelIndex first, QModelIndex second) ui->versionSelectionBox->addItem(tr("No Valid Version found!"), QVariant(-1)); } + ui->modSelectionButton->setText(tr("Cannot select invalid version :(")); updateSelectionButton(); }); netJob->start(); diff --git a/launcher/ui/pages/modplatform/modrinth/ModrinthPage.cpp b/launcher/ui/pages/modplatform/modrinth/ModrinthPage.cpp index 5b209fa3..51372431 100644 --- a/launcher/ui/pages/modplatform/modrinth/ModrinthPage.cpp +++ b/launcher/ui/pages/modplatform/modrinth/ModrinthPage.cpp @@ -137,6 +137,7 @@ void ModrinthPage::onSelectionChanged(QModelIndex first, QModelIndex second) ui->versionSelectionBox->addItem(tr("No Valid Version found !"), QVariant(-1)); } + ui->modSelectionButton->setText(tr("Cannot select invalid version :(")); updateSelectionButton(); }); |