diff options
author | Sefa Eyeoglu <contact@scrumplex.net> | 2022-08-18 22:53:41 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-18 22:53:41 +0200 |
commit | e654e668394a7f2809198ff75553fbc2ba5bac52 (patch) | |
tree | e9e7582c73df03d9b3854dee2ded82d3003a3ee9 | |
parent | ab766a05989adbe3fcb61e8ca865e2dab5b2cc74 (diff) | |
parent | 93507a263bc1f90355de7e5978dc762c832f61d3 (diff) | |
download | PrismLauncher-e654e668394a7f2809198ff75553fbc2ba5bac52.tar.gz PrismLauncher-e654e668394a7f2809198ff75553fbc2ba5bac52.tar.bz2 PrismLauncher-e654e668394a7f2809198ff75553fbc2ba5bac52.zip |
Merge pull request #1049 from flowln/waiting_for_news_-_-
-rw-r--r-- | launcher/ui/MainWindow.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/launcher/ui/MainWindow.cpp b/launcher/ui/MainWindow.cpp index c3d95599..299401f5 100644 --- a/launcher/ui/MainWindow.cpp +++ b/launcher/ui/MainWindow.cpp @@ -1465,6 +1465,7 @@ void MainWindow::updateNewsLabel() { newsLabel->setText(tr("Loading news...")); newsLabel->setEnabled(false); + ui->actionMoreNews->setVisible(false); } else { @@ -1473,11 +1474,13 @@ void MainWindow::updateNewsLabel() { newsLabel->setText(entries[0]->title); newsLabel->setEnabled(true); + ui->actionMoreNews->setVisible(true); } else { newsLabel->setText(tr("No news available.")); newsLabel->setEnabled(false); + ui->actionMoreNews->setVisible(false); } } } |