aboutsummaryrefslogtreecommitdiff
path: root/launcher/ui/pages/modplatform/flame
diff options
context:
space:
mode:
authorflow <thiagodonato300@gmail.com>2022-02-21 22:51:58 -0300
committerflow <thiagodonato300@gmail.com>2022-02-21 22:52:50 -0300
commit1004211a66370f2f39b81fdfc05e0e3645e91b90 (patch)
tree34e9c22174d2fdf7f4deb340f37fe79e8ef8e031 /launcher/ui/pages/modplatform/flame
parentf5cf4eb45f6610851367bdcab7b87766bed14288 (diff)
downloadPrismLauncher-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/ui/pages/modplatform/flame')
-rw-r--r--launcher/ui/pages/modplatform/flame/FlameModPage.cpp1
1 files changed, 1 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();