diff options
author | flow <flowlnlnln@gmail.com> | 2022-10-11 14:19:29 -0300 |
---|---|---|
committer | flow <flowlnlnln@gmail.com> | 2022-10-11 15:51:54 -0300 |
commit | d194b02e28132df3ea3da961299e969614b8a185 (patch) | |
tree | d4c8afbd6d595fc30972b72e223abd2544c7ac55 /launcher/ui/pages | |
parent | d7992ab29d07c6d26377f6db1cfca6059aace471 (diff) | |
download | PrismLauncher-d194b02e28132df3ea3da961299e969614b8a185.tar.gz PrismLauncher-d194b02e28132df3ea3da961299e969614b8a185.tar.bz2 PrismLauncher-d194b02e28132df3ea3da961299e969614b8a185.zip |
fix: prevent images overriding content when changing pages
Signed-off-by: flow <flowlnlnln@gmail.com>
Diffstat (limited to 'launcher/ui/pages')
-rw-r--r-- | launcher/ui/pages/modplatform/ModPage.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/ModPage.cpp b/launcher/ui/pages/modplatform/ModPage.cpp index 4fce0242..153bb049 100644 --- a/launcher/ui/pages/modplatform/ModPage.cpp +++ b/launcher/ui/pages/modplatform/ModPage.cpp @@ -350,4 +350,5 @@ void ModPage::updateUi() HoeDown h; ui->packDescription->setHtml(text + (current.extraData.body.isEmpty() ? current.description : h.process(current.extraData.body.toUtf8()))); + ui->packDescription->flush(); } diff --git a/launcher/ui/pages/modplatform/modrinth/ModrinthPage.cpp b/launcher/ui/pages/modplatform/modrinth/ModrinthPage.cpp index 70f1388a..4482774c 100644 --- a/launcher/ui/pages/modplatform/modrinth/ModrinthPage.cpp +++ b/launcher/ui/pages/modplatform/modrinth/ModrinthPage.cpp @@ -284,6 +284,7 @@ void ModrinthPage::updateUI() text += h.process(current.extra.body.toUtf8()); ui->packDescription->setHtml(text + current.description); + ui->packDescription->flush(); } void ModrinthPage::suggestCurrent() |