fix(ManagedPackPage): better changelog text when fetching / no changelog
Signed-off-by: flow <flowlnlnln@gmail.com>
This commit is contained in:
parent
968366c2ae
commit
04dbe28793
@ -219,6 +219,9 @@ void ModrinthManagedPackPage::parseManagedPack()
|
||||
netJob->deleteLater();
|
||||
delete response;
|
||||
});
|
||||
|
||||
ui->changelogTextBrowser->setText(tr("Fetching changelogs..."));
|
||||
|
||||
netJob->start();
|
||||
}
|
||||
|
||||
|
@ -168,7 +168,11 @@
|
||||
</property>
|
||||
<layout class="QVBoxLayout" name="verticalLayout_3">
|
||||
<item>
|
||||
<widget class="QTextBrowser" name="changelogTextBrowser"/>
|
||||
<widget class="QTextBrowser" name="changelogTextBrowser">
|
||||
<property name="placeholderText">
|
||||
<string>No changelog available for this version!</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
|
Loading…
Reference in New Issue
Block a user